You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the best way to customize the theme with multiple self-hosted fonts? I have followed the instructions from the documentation on how to override the global font with one self-hosted font and it works well. However, am not sure how to use multiple self-hosted fonts. Adding an array of two font objects on @font-face seems to do exactly what I want but my linter complains since @font-face expects an object.
I want to be able to use the Regular font on typography.fontFamily and the Bold on typography.h1.
The text was updated successfully, but these errors were encountered:
What is the best way to customize the theme with multiple self-hosted fonts? I have followed the instructions from the documentation on how to override the global font with one self-hosted font and it works well. However, am not sure how to use multiple self-hosted fonts. Adding an array of two font objects on
@font-face
seems to do exactly what I want but my linter complains since@font-face
expects an object.I want to be able to use the Regular font on
typography.fontFamily
and the Bold ontypography.h1
.The text was updated successfully, but these errors were encountered: