1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-18 00:19:49 +01:00

chore: add button styles to dark mode too (#9285)

This adds the same button stylings to the dark theme as we did to the
light theme in #9275.
This commit is contained in:
Thomas Heartman 2025-02-11 11:17:05 +01:00 committed by GitHub
parent 43a5d59225
commit 63dbd40a2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -535,6 +535,8 @@ export const darkTheme = createTheme({
MuiButton: {
styleOverrides: {
root: ({ theme }) => ({
borderRadius: theme.shape.borderRadius,
textTransform: 'none',
'&:not(.Mui-disabled).MuiButton-containedPrimary': {
backgroundColor: theme.palette.background.alternative,
'&:hover': {