Skip to content

Commit

Permalink
[docs-infra] Adjust headings dark mode color (#41292)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal authored Feb 27, 2024
1 parent 49960f8 commit 4d349d8
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions docs/src/modules/components/MarkdownElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,21 +586,9 @@ const Root = styled('div')(
'& hr': {
backgroundColor: `var(--muidocs-palette-divider, ${darkTheme.palette.divider})`,
},
'& h1': {
'& h1, & h2, & h3, & h4, & h5': {
color: `var(--muidocs-palette-grey-50, ${darkTheme.palette.grey[50]})`,
},
'& h2': {
color: `var(--muidocs-palette-grey-100, ${darkTheme.palette.grey[100]})`,
},
'& h3': {
color: `var(--muidocs-palette-grey-200, ${darkTheme.palette.grey[200]})`,
},
'& h4': {
color: `var(--muidocs-palette-grey-300, ${darkTheme.palette.grey[300]})`,
},
'& h5': {
color: `var(--muidocs-palette-grey-300, ${darkTheme.palette.grey[300]})`,
},
'& p, & ul, & ol': {
color: `var(--muidocs-palette-grey-400, ${darkTheme.palette.grey[400]})`,
},
Expand Down

0 comments on commit 4d349d8

Please sign in to comment.