-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/next' into snackbar-v6-component-deprecation
# Conflicts: # packages/mui-codemod/README.md
- Loading branch information
Showing
48 changed files
with
652 additions
and
318 deletions.
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
15 changes: 15 additions & 0 deletions
15
docs/data/material/customization/how-to-customize/GlobalCssOverrideTheme.js
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import * as React from 'react'; | ||
import GlobalStyles from '@mui/material/GlobalStyles'; | ||
|
||
export default function GlobalCssOverrideTheme() { | ||
return ( | ||
<React.Fragment> | ||
<GlobalStyles | ||
styles={(theme) => ({ | ||
h1: { color: theme.palette.primary.main }, | ||
})} | ||
/> | ||
<h1>Grey h1 element</h1> | ||
</React.Fragment> | ||
); | ||
} |
15 changes: 15 additions & 0 deletions
15
docs/data/material/customization/how-to-customize/GlobalCssOverrideTheme.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import * as React from 'react'; | ||
import GlobalStyles from '@mui/material/GlobalStyles'; | ||
|
||
export default function GlobalCssOverrideTheme() { | ||
return ( | ||
<React.Fragment> | ||
<GlobalStyles | ||
styles={(theme) => ({ | ||
h1: { color: theme.palette.primary.main }, | ||
})} | ||
/> | ||
<h1>Grey h1 element</h1> | ||
</React.Fragment> | ||
); | ||
} |
8 changes: 8 additions & 0 deletions
8
docs/data/material/customization/how-to-customize/GlobalCssOverrideTheme.tsx.preview
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<React.Fragment> | ||
<GlobalStyles | ||
styles={(theme) => ({ | ||
h1: { color: theme.palette.primary.main }, | ||
})} | ||
/> | ||
<h1>Grey h1 element</h1> | ||
</React.Fragment> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,6 @@ const ALLOWED_TAGS = [ | |
'Pigment CSS', | ||
'Joy UI', | ||
'MUI X', | ||
'MUI System', | ||
'Toolpad', | ||
]; | ||
|
||
|
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.