update theme to handle buttons
This commit is contained in:
1 parent
77959264d0
commit
de71c5f339
1 file changed
+6
-5
@@ -132,7 +132,7 @@ const baseTheme = (palette) => ({
|
|||||||
backgroundColor: theme.palette.secondary.main,
|
backgroundColor: theme.palette.secondary.main,
|
||||||
color: theme.palette.primary.contrastText,
|
color: theme.palette.primary.contrastText,
|
||||||
},
|
},
|
||||||
"&.MuiLoadingButton-root": {
|
"&.MuiButton-root": {
|
||||||
"&:disabled": {
|
"&:disabled": {
|
||||||
backgroundColor: theme.palette.secondary.main,
|
backgroundColor: theme.palette.secondary.main,
|
||||||
color: theme.palette.primary.contrastText,
|
color: theme.palette.primary.contrastText,
|
||||||
@@ -141,12 +141,13 @@ const baseTheme = (palette) => ({
|
|||||||
boxShadow: `0 0 0 1px ${theme.palette.accent.main}`, // CAIO_REVIEW, this should really have a solid BG color
|
boxShadow: `0 0 0 1px ${theme.palette.accent.main}`, // CAIO_REVIEW, this should really have a solid BG color
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"&.MuiLoadingButton-loading": {
|
"&.MuiButton-loading": {
|
||||||
"& .MuiLoadingButton-label": {
|
"&:disabled": {
|
||||||
color: "transparent",
|
color: "transparent",
|
||||||
},
|
},
|
||||||
"& .MuiLoadingButton-loadingIndicator": {
|
|
||||||
color: "inherit",
|
"& .MuiButton-loadingIndicator": {
|
||||||
|
color: theme.palette.primary.contrastText,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in new issue
Block a user