Added toast function

This commit is contained in:
Olivier Gagnon
2021-10-13 17:25:58 -04:00
parent 921a1517df
commit 3f1d4875e7
10 changed files with 245 additions and 158 deletions
+21
View File
@@ -294,6 +294,27 @@ export function refreshTheme(): void {
},
},
},
MuiAlert: {
styleOverrides: {
root: {
backgroundColor: Settings.theme.black,
borderRadius: 0,
border: "1px solid " + Settings.theme.well,
},
standardSuccess: {
color: Settings.theme.successLight,
},
standardError: {
color: Settings.theme.errorlight,
},
standardWarning: {
color: Settings.theme.warninglight,
},
standardInfo: {
color: Settings.theme.infolight,
},
},
},
},
});
}