-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Fluent Semantic Tokens #33971
base: master
Are you sure you want to change the base?
Fluent Semantic Tokens #33971
Conversation
📊 Bundle size reportUnchanged fixtures
|
Pull request demo site: URL |
🕵 FluentUIV0 No visual regressions between this PR and main |
@@ -272,6 +272,7 @@ packages/react-components/react-virtualizer/stories @microsoft/xc-uxe @Mitch-At- | |||
packages/react-components/react-skeleton/library @microsoft/cxe-prg |
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.
🕵🏾♀️ visual regressions to review in the fluentuiv8 Visual Regression Report
react-charting-LineChart 1 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
react-charting-LineChart.Gaps.default.chromium.png | 1 | Changed |
react-charting-VerticalBarChart 1 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
react-charting-VerticalBarChart.Basic - Secondary Y Axis.default.chromium.png | 4 | Changed |
@@ -272,6 +272,7 @@ packages/react-components/react-virtualizer/stories @microsoft/xc-uxe @Mitch-At- | |||
packages/react-components/react-skeleton/library @microsoft/cxe-prg |
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.
🕵🏾♀️ visual regressions to review in the fluentui-web-components-v3 Visual Regression Report
Avatar 1 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
Avatar. - Dark Mode.normal.chromium.png | 10569 | Changed |
Badge 1 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
Badge. - Dark Mode.normal.chromium.png | 511 | Changed |
RadioGroup 1 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
RadioGroup. - Dark Mode.normal.chromium_1.png | 62 | Changed |
@@ -272,6 +272,7 @@ packages/react-components/react-virtualizer/stories @microsoft/xc-uxe @Mitch-At- | |||
packages/react-components/react-skeleton/library @microsoft/cxe-prg |
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.
🕵🏾♀️ visual regressions to review in the fluentuiv9 Visual Regression Report
Avatar Converged 1 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
Avatar Converged.badgeMask.normal.chromium.png | 1 | Changed |
export const textStyleDefaultHeaderFontfamily = `var(${textStyleDefaultHeaderFontfamilyRaw}, ${textStyleDefaultRegularFontfamilyRaw})`; | ||
export const textStyleDefaultHeaderLetterspacing = `var(${textStyleDefaultHeaderLetterspacingRaw}, ${textStyleDefaultRegularLetterspacingRaw})`; | ||
export const textStyleAiRegularFontfamily = `var(${textStyleAiRegularFontfamilyRaw}, ${textStyleDefaultRegularFontfamilyRaw})`; | ||
export const textStyleAiRegularWeight = `var(${textStyleAiRegularWeightRaw}, ${textStyleDefaultRegularWeightRaw})`; | ||
export const textStyleAiRegularLetterspacing = `var(${textStyleAiRegularLetterspacingRaw}, ${textStyleDefaultRegularLetterspacingRaw})`; |
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 like theres's a bug here in the whole file. The second token in the chain should be pointing to the variable string not the raw token string. Credit @marchbox for spotting it.
- export const tokenA = `var(${tokenARaw}, ${tokenBRaw})`
+ export const tokenA = `var(${tokenARaw}, ${tokenB})`
Not sure where else this is a problem.
Preview release of Fluent Semantic Tokens.
unset
values will result in existing CSS to cascade properly.Further token changes incoming as tokens.json evolves.
TODO:
Handle 'null' tokens -> Either setting these to 'unset' in CSS, providing the fluent 2 fallback, or specific cases where it may resolve to 'transparent'fluentOverrides.json
will house these relationships so the script can auto gen.fluentOverrides.json
as well.Next Steps: