From fbb2f4b9f367609bce9008dfc031c5ee9f695c2e Mon Sep 17 00:00:00 2001 From: FaintSpeaker Date: Wed, 29 Dec 2021 13:50:44 -0500 Subject: [PATCH] Add success to the palette that's being passed to create theme. Mui was using default colors without this inclusion, causing the success colors in it's snackbar to be the wrong colors. --- src/ui/React/Theme.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/React/Theme.tsx b/src/ui/React/Theme.tsx index 65c01f425..a11940c29 100644 --- a/src/ui/React/Theme.tsx +++ b/src/ui/React/Theme.tsx @@ -93,6 +93,11 @@ export function refreshTheme(): void { main: Settings.theme.warning, dark: Settings.theme.warningdark, }, + success: { + light: Settings.theme.successlight, + main: Settings.theme.success, + dark: Settings.theme.successdark, + }, background: { default: Settings.theme.backgroundprimary, paper: Settings.theme.well,