Skip to content

Commit

Permalink
Merge pull request #1253 from bluewave-labs/fix/buttonDarkMode
Browse files Browse the repository at this point in the history
fix: fixing button color text on dark mode
  • Loading branch information
ajhollid authored Dec 4, 2024
2 parents 9babbfc + 941761c commit 821b4a9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Client/src/Utils/Theme/globalTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,20 @@ const baseTheme = (palette) => ({
"&:hover": {
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",
},
},
}),
},
},
Expand Down

0 comments on commit 821b4a9

Please sign in to comment.