-
Notifications
You must be signed in to change notification settings - Fork 273
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: IBM Plex Sans Variable #329
feat: IBM Plex Sans Variable #329
Conversation
This pull request is automatically deployed with Now. Latest deployment for this branch: https://gatsby-theme-carbon-git-fork-vpicone-add-variable-fonts.carbon-design-system.now.sh |
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.
Looks good to me!
@vpicone to review this, do we make sure visually the fonts are not different from current deployment? Coz I noticed a few small things between this deployment and |
@shixiedesign the url for the master branch/most up to date version of the theme is https://gatsby-theme-carbon.now.sh (not netlify). That netlify link is out of date. This doesn't change anything about the font styles, just the Plex file we're using. |
@vpicone I noticed these things:
|
@shixiedesign woah! will have to investigate more closely... this PR uses the plex files directly (as opposed to google fonts). I wonder if google fonts has been doing something unusual with our font files. Thanks so much for giving this a careful look! |
…-carbon into add-variable-fonts
@shixiedesign it looks like I was too restrictive with the characters I took out. Could you do that comparison again now? |
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.
…-carbon into add-variable-fonts
…carbon into add-variable-fonts
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.
Looking great! 🎉
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.
🚀 nice!
…-carbon into add-variable-fonts
…carbon into add-variable-fonts
closes #330
This switches our Plex loading strategy to use local variable fonts. When subsetting the variable fonts I also included those pesky arrows.
We cut the requests from 7→2 and the payload from 126kb to 56kb. This also opens the door for experimenting with more expressive type tokens and better interpolation between those tokens.