Skip to content

Font modes? #2161

Discussion options

You must be logged in to vote

It's a fun idea! I think because of the different metrics of fonts it wouldn't be that popular, & more challenging to implement performance-wise if you need to load multiple fonts, so we're unlikely to build this feature. You could definitely work around the theme a bit to implement this currently—the first thing I'd reach for is checking the color mode with a hook from Theme UI then using the Global component to set fontFamily on your root element: https://theme-ui.com/guides/global-styles

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lachlanjc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants