Skip to content

Commit

Permalink
[docs-infra] Use darkTheme when on dark mode for list deprecated item…
Browse files Browse the repository at this point in the history
… note
  • Loading branch information
DiegoAndai committed Jan 11, 2024
1 parent 483ab64 commit af5da3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/modules/components/ApiPage/list/ClassesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const StyledApiItem = styled(ExpandableApiItem)(
},
'&.classes-list-deprecated-item': {
'& .MuiApi-item-note': {
color: `var(--muidocs-palette-warning-400, ${lightTheme.palette.warning[400]})`,
color: `var(--muidocs-palette-warning-400, ${darkTheme.palette.warning[400]})`,
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const StyledApiItem = styled(ExpandableApiItem)(
},
'&.prop-list-deprecated-item': {
'& .MuiApi-item-note': {
color: `var(--muidocs-palette-warning-400, ${lightTheme.palette.warning[400]})`,
color: `var(--muidocs-palette-warning-400, ${darkTheme.palette.warning[400]})`,
},
},
},
Expand Down

0 comments on commit af5da3e

Please sign in to comment.