Removed the text component from mui themes.
This commit is contained in:
1 parent
9e33a0a24f
commit
28c44d628d
2 files changed
+1
-7
No files matched your search
@@ -306,12 +306,6 @@ const newSemanticColors = {
|
|||||||
dark: newColors.blueGray900,
|
dark: newColors.blueGray900,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
text: {
|
|
||||||
timePicker: {
|
|
||||||
light: paletteColors.gray300,
|
|
||||||
dark: paletteColors.gray600,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export { typographyLevels, semanticColors as colors, newSemanticColors };
|
export { typographyLevels, semanticColors as colors, newSemanticColors };
|
||||||
@@ -454,7 +454,7 @@ const baseTheme = (palette) => ({
|
|||||||
backgroundColor: theme.palette.secondary.lowContrast,
|
backgroundColor: theme.palette.secondary.lowContrast,
|
||||||
// General text color
|
// General text color
|
||||||
"& .MuiTypography-root": {
|
"& .MuiTypography-root": {
|
||||||
color: theme.palette.text.timePicker,
|
color: theme.palette.primary.contrastTextTertiary,
|
||||||
},
|
},
|
||||||
// Selected time (hour/minute) color
|
// Selected time (hour/minute) color
|
||||||
"& .Mui-selected": {
|
"& .Mui-selected": {
|
||||||
|
|||||||
Reference in new issue
Block a user