Skip to content

Dealing with font faces #1019

Answered by tianenpang
Code-Victor asked this question in Help
Discussion options

You must be logged in to vote

I am using different fonts as theme token and then using them in styled or css.

Here's an example with next.js: codesandbox.io/s/next-stitches-font-1ygp26

Preload the font in pages/_document.tsx

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Code-Victor
Comment options

Answer selected by Code-Victor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants