Fixed issues with colors changing for the test notification button when the dialog box is enabled.

This commit is contained in:
Skorpios committed 2025-03-20 08:00:50 -07:00
1 parent 62420bfd3c
commit c63f49e4f3
1 file changed
+5 -4
+5 -4
View File
@@ -122,7 +122,7 @@ const baseTheme = (palette) => ({
props: { variant: 'text', color: 'info' }, props: { variant: 'text', color: 'info' },
style: { style: {
textDecoration: 'underline', textDecoration: 'underline',
color: theme.palette.text.primary, color: theme.palette.primary.contrastText,
padding: 0, padding: 0,
margin: 0, margin: 0,
fontSize: typographyLevels.m, fontSize: typographyLevels.m,
@@ -133,10 +133,11 @@ const baseTheme = (palette) => ({
textDecoration: 'underline' textDecoration: 'underline'
}, },
"&.Mui-disabled": { "&.Mui-disabled": {
backgroundColor: theme.palette.secondary.main, backgroundColor: 'transparent',
color: theme.palette.primary.contrastText, color: theme.palette.text.primary,
opacity: 0.5,
"&.MuiButton-text": { "&.MuiButton-text": {
backgroundColor: 'transparent' backgroundColor: 'transparent'
} }
}, },
minWidth: 0, minWidth: 0,