-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
[system] Move stylesheet generator to extendTheme
#41446
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
Merged
siriwatknp
merged 44 commits into
mui:next
from
siriwatknp:material-ui/extend-theme-zero
Mar 20, 2024
Merged
Changes from 12 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
cd9611f
wip
siriwatknp 713706f
Merge branch 'master' of https://github.com/mui/material-ui into mate…
siriwatknp 3496e02
move excludeVariablesFromRoot logic to extendTheme
siriwatknp 8c8a05e
add generateStyleSheets
siriwatknp cd20c72
use generateStyleSheets in zero
siriwatknp 6d44f8d
Merge branch 'master' of https://github.com/mui/material-ui into mate…
siriwatknp 01da8e7
replace generateCssVars with generateThemeVars
siriwatknp 9835ba4
add more tests
siriwatknp c03b060
cleanup
siriwatknp 02fe7cc
remove workaround
siriwatknp 049ae90
Merge branch 'master' of https://github.com/mui/material-ui into mate…
siriwatknp 8df84b1
finish consistency
siriwatknp b47cb75
Merge branch 'master' of https://github.com/mui/material-ui into mate…
siriwatknp 087806c
fix test
siriwatknp e70a9b4
fix all regression
siriwatknp 9cecf5c
fix scoped CSS baseline
siriwatknp 71ea18c
fix types
siriwatknp 284ebb9
use data-* attribute
siriwatknp fa4251c
run docs:typescript:formatted
siriwatknp 0fc887d
restore changes
siriwatknp 6f2a7c2
fix test
siriwatknp 5e609df
Merge branch 'master' of https://github.com/mui/material-ui into mate…
siriwatknp 4a77f79
Merge branch 'master' of https://github.com/mui/material-ui into mate…
siriwatknp 42c2b43
fix createCssVarsTheme
siriwatknp ee261f5
fix prepareCssVars to get fresh css
siriwatknp 3c13b45
fix extendTheme
siriwatknp 39e2df4
move getSelector to private function
siriwatknp 8145253
update createCssVarsTheme
siriwatknp a38fcbd
Merge branch 'master' of https://github.com/mui/material-ui into mate…
siriwatknp c9f14e4
attach all properties of default color scheme
siriwatknp 56aaf2f
Merge branch 'master' of https://github.com/mui/material-ui into mate…
siriwatknp 1bef6e9
fix md3 extendTheme
siriwatknp b57f622
fix test
siriwatknp fff2ef3
fix tests
siriwatknp cd54f59
trigger build
siriwatknp 858da1c
Merge branch 'master' of https://github.com/mui/material-ui into mate…
siriwatknp 0eacbdc
Update packages/mui-system/src/cssVars/createCssVarsProvider.js
siriwatknp cc6b678
Update packages/mui-system/src/cssVars/createCssVarsProvider.test.js
siriwatknp b9ded68
Update packages/mui-system/src/cssVars/createCssVarsProvider.test.js
siriwatknp a3eaebc
Merge branch 'master' of https://github.com/mui/material-ui into mate…
siriwatknp b167fa0
fix getSelector value
siriwatknp 0bba432
add tests for utils
siriwatknp f090bc1
Merge branch 'next' of https://github.com/mui/material-ui into materi…
siriwatknp bb8759f
remove unnecessary private export
siriwatknp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The default
extendTheme
usedata-*
attribute for creating selectors. This custom getSelector proves that it can be customized.