From c63f49e4f37bcafbc3049250e5a63f4abdf3f0bc Mon Sep 17 00:00:00 2001 From: Skorpios Date: Thu, 20 Mar 2025 08:00:50 -0700 Subject: [PATCH] Fixed issues with colors changing for the test notification button when the dialog box is enabled. --- src/Utils/Theme/globalTheme.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Utils/Theme/globalTheme.js b/src/Utils/Theme/globalTheme.js index 8fe8b2250..6530e911d 100644 --- a/src/Utils/Theme/globalTheme.js +++ b/src/Utils/Theme/globalTheme.js @@ -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,