Percy is not using custom variable font-family #539
Unanswered
Th3S4mur41
asked this question in
Support
Replies: 1 comment 1 reply
-
|
Hey @Th3S4mur41! Variable font support is OS based and currently Percy's Firefox and Chrome browsers render in Ubuntu. Safari renders in MacOS and Edge renders in Windows. I would expect the font to be correct in Safari & Edge. Is that true? 🤨 |
Beta Was this translation helpful? Give feedback.
1 reply
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'm using a local variable font which is copied to the storybook static folder and setting a proper fallback chain as follow:
When running storybook, the font is properly being loaded and displayed, but percy screenshots are not even using the sans-serif fallback and use a serif font instead (at least in Chrome and Edge, Firefox uses a sans-serif font):
Any help would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions