@audi/audi-type
v1.0.0-alpha.2
Published
Audi Type Extended and Screen as Webfont.
Downloads
98
Keywords
Readme
Audi Type
Usage
CSS
- Copy the folder
fonts
andcss
to your project folder. Both folders have to be in the same folder. - Link
css/audi-type.min.css
from your HTML files.
<link rel="stylesheet" href="/css/audi-type.min.css">
SCSS
- Copy all fonts to your project folder.
- In your main SCSS override
$auditype-font-src
with the path to the font folder before importing theaudi-type.scss
file.$auditype-font-src: 'path/to/font/folder;
- Import the SCSS file
@import "src/scss/audi-type";
to your main SCSS.
Demo
Just open dist/index.html
in your web browser of choice.
Build
To get started, first install the necessary dependencies, from the root of the project:
npm i
Audi Type requires Gulp 4.0
Next, run the following one-liner to compile all files to dist
gulp