-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/add fallback font theme #3748
Conversation
🦋 Changeset detectedLatest commit: 6f05b7b The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
size-limit report 📦
|
@@ -371,7 +371,7 @@ export const darkTheme = { | |||
theme: 'dark', | |||
typography: { | |||
body: { | |||
fontFamily: 'Inter', | |||
fontFamily: 'Inter, sans-serif', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As written on top of each files those are generated based on what design send us back from figma tokens and they should not be manually edited. If you want to change this you need to change it from figma directly or see with a designer to do so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't check properly the top of the file. I will have a look with designer or eventually check the script token generation
This is what it look like when its broken, @PetmePant |
The update has been merged here: #3802 You can rebase to check changes or close the PR 😄 |
Summary
Add matching fallback font in case fonts are not yet loaded
Type
What is expected?
If fonts fail to load or are not yet loaded, then it should display the closest type of font
Based on google font fallback