Fonts
#
From CDNThe easiest way to include fonts is via SCSS:
styles/style.scss
#
From filesnote
If you need a tool to generate the @font-face
definitions we recommend: https://google-webfonts-helper.herokuapp.com/
We are working on making fonts easier to import. But at the moment this is how you can import custom fonts.
Grab your custom font as .woff
and .woff2
format and place them inside a directory. Let's call that directory /fonts
on the root of your repository.
Terminal.app
Create a style file and add the corresponding @font-face
.
Terminal.app
styles/fonts.css
Done! Now you can use your custom fonts.
templates/main.js