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.

This commit is contained in:
FaintSpeaker 2021-12-29 13:50:44 -05:00
parent c619191173
commit fbb2f4b9f3

@ -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,