How to include your own web fonts #813
maguijo
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I figured this out today, and wanted to share. I don't think I'm very good at explaining things so feel free to ask for clarification!
, fonts: { src:
${ assetsDir }/fonts/*.{woff,woff2}, dest:
${ assetsDir }/fonts/, }
And it works! I can now use my font in the _custom-properties.css to define the global-font-family and the highlight-font-family variables.
Beta Was this translation helpful? Give feedback.
All reactions