Add the black 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:12:04 -05:00
parent edfefcceda
commit ddbb37c2d1

@ -22,6 +22,7 @@ declare module "@mui/material/styles" {
success: React.CSSProperties["color"];
successdark: React.CSSProperties["color"];
white: React.CSSProperties["color"];
black: React.CSSProperties["color"];
};
}
interface ThemeOptions {
@ -40,6 +41,7 @@ declare module "@mui/material/styles" {
success: React.CSSProperties["color"];
successdark: React.CSSProperties["color"];
white: React.CSSProperties["color"];
black: React.CSSProperties["color"];
};
}
}
@ -63,6 +65,7 @@ export function refreshTheme(): void {
success: Settings.theme.success,
successdark: Settings.theme.successdark,
white: Settings.theme.white,
black: Settings.theme.black,
},
palette: {
primary: {