-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[DataGrid] refactor: theme to CSS variables #15704
Merged
Merged
Changes from 37 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
af5bdf9
refactor: theme => css variables
romgrk 339768b
lint
romgrk 90c1fc2
lint
romgrk 1fc98c6
feat: breakpoints
romgrk 15484db
feat: breakpoints
romgrk 9a5014e
refactor: theme.spacing => vars.spacing
romgrk bf20ed3
refactor: zIndex
romgrk 71c993f
refactor: finish t.spacing()
romgrk b1054ec
refactor: finish all but GRS
romgrk 41b1451
lint
romgrk 9d718e2
Merge branch 'master' into feat-agnostic-css-variables
romgrk 4e83cb6
fix: missing variables
romgrk f0645af
refactor: GridRootStyles
romgrk 07e64a0
refactor: GRS: more colors
romgrk 4670236
refactor: more ergonomic API
romgrk 4bccecc
lint
romgrk 1de35d9
lint
romgrk 4822768
draft: test reverting text color
romgrk f643319
lint
romgrk 734d8e7
draft: try remove style
romgrk 3dc38ef
Revert "draft: try remove style"
romgrk cd34948
Revert "refactor: GRS: more colors"
romgrk cc48bd1
refactor: GRS: main colors
romgrk 8311425
refactor: GRS(2): colors
romgrk 2476462
refactor: GRS(3): colors
romgrk 736948b
refactor: GRS(4): colors
romgrk 2973e5c
refactor: GRS(5): focus color
romgrk 802c642
refactor: GRS: complete
romgrk e7e253a
Merge branch 'master' into feat-agnostic-css-variables
romgrk 23d3ad4
draft: split CSS variables
romgrk 414f359
Merge branch 'master' into feat-agnostic-css-variables
romgrk 00c953d
Revert "draft: split CSS variables"
romgrk cf98e2c
Merge branch 'master' into feat-agnostic-css-variables
romgrk ae48775
fix: conflict marker
romgrk c3d77de
fix: css variables accessible from root
romgrk b678c19
lint
romgrk fb4edf8
lint
romgrk 685e935
ci: run (empty commit)
romgrk 02f2f1c
Update packages/x-data-grid/src/components/panel/GridPanelFooter.tsx
romgrk dc9b984
Merge branch 'master' into feat-agnostic-css-variables
romgrk 8d21805
Merge branch 'feat-agnostic-css-variables' of github.com:romgrk/mui-x…
romgrk 049a999
ci: run (empty commit)
romgrk a9c8b65
fix: quickfilter outside of root
romgrk 2d961be
lint
romgrk 249ee63
refactor: useThemeVariablesClassName => useCSSVariablesClass
romgrk a0b8119
ci: run (empty commit)
romgrk 83655b4
ci: run (empty commit)
romgrk 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 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 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 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 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 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 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
4 changes: 2 additions & 2 deletions
4
packages/x-data-grid-pro/src/components/GridColumnHeaders.tsx
This file contains 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 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 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 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 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 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 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 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.
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.
I'm confused. Why are we changing this?
What I see:
As I understand it for unstyled: