-
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
Rename @uifabric/variants to @fluentui/scheme-utilities #15598
Conversation
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.
@dzearing should review too but LGTM.
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 09b68f6:
|
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: ddb628724b27b6be3d430ea0a7b728ac9adfb8ec (build) |
f595958
to
09b68f6
Compare
|
||
The following example uses [getTheme()](https://github.com/microsoft/fluentui/blob/master/packages/style-utilities/src/styles/theme.ts) to grab the current global theme, then creates a strong variant of the that theme, and applies that strong variant to the components wrapped by Customizer. | ||
The following example creates a strong variant of a given theme, and applies that strong variant to the components wrapped by `ThemeProvider`. |
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.
are we renaming "variants" itself too?
🎉 Handy links: |
🎉 Handy links: |
Pull request checklist
$ yarn change
Description of changes
rename @uifabric/variants to @fluentui/scheme-utilities
Related issue: #13384
Focus areas to test
(optional)