Made major ui changes in clock.
This commit is contained in:
1 parent
872501fc2d
commit
ef954af106
1 file changed
+3
-3
@@ -451,14 +451,14 @@ const baseTheme = (palette) => ({
|
|||||||
MuiTimePickerToolbar: {
|
MuiTimePickerToolbar: {
|
||||||
styleOverrides: {
|
styleOverrides: {
|
||||||
root: ({ theme }) => ({
|
root: ({ theme }) => ({
|
||||||
backgroundColor: theme.palette.secondary.main,
|
backgroundColor: theme.palette.secondary.lowContrast,
|
||||||
// General text color
|
// General text color
|
||||||
"& .MuiTypography-root": {
|
"& .MuiTypography-root": {
|
||||||
color: theme.palette.secondary.darker,
|
color: theme.palette.gradient.color6,
|
||||||
},
|
},
|
||||||
// Selected time (hour/minute) color
|
// Selected time (hour/minute) color
|
||||||
"& .Mui-selected": {
|
"& .Mui-selected": {
|
||||||
color: `${theme.palette.accent.main} !important`, // Use your accent color
|
color: `${theme.palette.accent.main} !important`,
|
||||||
},
|
},
|
||||||
// AM/PM buttons color
|
// AM/PM buttons color
|
||||||
"& .MuiButtonBase-root": {
|
"& .MuiButtonBase-root": {
|
||||||
|
|||||||
Reference in new issue
Block a user