hypnagaga_old/src/docs/fonts.md
2024-06-03 11:30:52 +02:00

462 B

title
Fonts

This starter uses two custom fonts, Red Hat Display and Inclusive Sans. You can add or delete fonts in src/assets/fonts.

I often create font subsets using the Fontsquirrel Webfont Generator.

Next, edit src/assets/css/global/base/fonts.css.

Add your new font aliases in src/_data/designTokens/fonts.json.

Finally, in src/_includes/head/preloads.njk edit the font preloads.