Merge pull request #1253 from bluewave-labs/fix/buttonDarkMode
fix: fixing button color text on dark mode
This commit is contained in:
1 file changed
+14
@@ -93,6 +93,20 @@ const baseTheme = (palette) => ({
|
|||||||
"&:hover": {
|
"&:hover": {
|
||||||
boxShadow: "none",
|
boxShadow: "none",
|
||||||
},
|
},
|
||||||
|
"&.MuiLoadingButton-root": {
|
||||||
|
"&:disabled": {
|
||||||
|
backgroundColor: theme.palette.secondary.main,
|
||||||
|
color: theme.palette.text.primary,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"&.MuiLoadingButton-loading": {
|
||||||
|
"& .MuiLoadingButton-label": {
|
||||||
|
color: "transparent",
|
||||||
|
},
|
||||||
|
"& .MuiLoadingButton-loadingIndicator": {
|
||||||
|
color: "inherit",
|
||||||
|
},
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user