-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
(web-components) Added support for Segoe UI Variable font with variant configurations #22079
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 65a8c54:
|
📊 Bundle size report🤖 This report was generated against 8f44d809d2d56a5ffe274fbb479f38fafec1eb7a |
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 8f44d809d2d56a5ffe274fbb479f38fafec1eb7a (build) |
41875a4
to
869dd08
Compare
In testing, there are some extraneous font attributes that could be removed, but I'll leave that for a cleanup pass. All components correctly use the token values for all visible type I saw in the samples. |
869dd08
to
0ab974f
Compare
Added type ramp helpes to conveniently and consistently apply all necessary font attributes.
0ab974f
to
6792d2a
Compare
6792d2a
to
65a8c54
Compare
…t configurations (microsoft#22079) Added support for Segoe UI Variable font with variant configurations Added type ramp helpers to conveniently and consistently apply all necessary font attributes
Added support for Segoe UI Variable font with variant configurations
Added type ramp helpers to conveniently and consistently apply all necessary font attributes
Will remove font weight slider from Storybook page before merge.
Current Behavior
Uses "Segoe UI" non-variable font
New Behavior
Uses "Segoe UI Variable" by default if registered for the app/page.
Includes variable font variant settings based on font size.
Edge
Firefox
Safari
Related Issue(s)
Fixes #22078 #21524