Add the white property to the theme interfaces, so that it can be used in the project elsewhere.

This commit is contained in:
FaintSpeaker 2021-12-29 12:00:02 -05:00
parent 91243f4742
commit b3c5465ac2

@ -21,6 +21,7 @@ declare module "@mui/material/styles" {
successlight: React.CSSProperties["color"];
success: React.CSSProperties["color"];
successdark: React.CSSProperties["color"];
white: React.CSSProperties["color"];
};
}
interface ThemeOptions {
@ -38,6 +39,7 @@ declare module "@mui/material/styles" {
successlight: React.CSSProperties["color"];
success: React.CSSProperties["color"];
successdark: React.CSSProperties["color"];
white: React.CSSProperties["color"];
};
}
}
@ -60,6 +62,7 @@ export function refreshTheme(): void {
successlight: Settings.theme.successlight,
success: Settings.theme.success,
successdark: Settings.theme.successdark,
white: Settings.theme.white,
},
palette: {
primary: {