Removed the text component from mui themes.

This commit is contained in:
Owaise Imdad committed 2025-03-10 05:40:12 +05:30
1 parent 9e33a0a24f
commit 28c44d628d
2 files changed
+1 -7

No files matched your search

-6
View File
@@ -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 };
+1 -1
View File
@@ -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": {