Fixed issues with colors changing for the test notification button when the dialog box is enabled.
This commit is contained in:
1 parent
62420bfd3c
commit
c63f49e4f3
1 file changed
+5
-4
@@ -122,7 +122,7 @@ const baseTheme = (palette) => ({
|
||||
props: { variant: 'text', color: 'info' },
|
||||
style: {
|
||||
textDecoration: 'underline',
|
||||
color: theme.palette.text.primary,
|
||||
color: theme.palette.primary.contrastText,
|
||||
padding: 0,
|
||||
margin: 0,
|
||||
fontSize: typographyLevels.m,
|
||||
@@ -133,10 +133,11 @@ const baseTheme = (palette) => ({
|
||||
textDecoration: 'underline'
|
||||
},
|
||||
"&.Mui-disabled": {
|
||||
backgroundColor: theme.palette.secondary.main,
|
||||
color: theme.palette.primary.contrastText,
|
||||
backgroundColor: 'transparent',
|
||||
color: theme.palette.text.primary,
|
||||
opacity: 0.5,
|
||||
"&.MuiButton-text": {
|
||||
backgroundColor: 'transparent'
|
||||
backgroundColor: 'transparent'
|
||||
}
|
||||
},
|
||||
minWidth: 0,
|
||||
|
||||
Reference in new issue
Block a user