From ddbb37c2d16bc292ff1b284b474d553e10adc6fb Mon Sep 17 00:00:00 2001 From: FaintSpeaker Date: Wed, 29 Dec 2021 12:12:04 -0500 Subject: [PATCH] Add the black property to the theme interfaces, so that it can be used in the project elsewhere. --- src/ui/React/Theme.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/React/Theme.tsx b/src/ui/React/Theme.tsx index 27b9bd214..b02bac8c9 100644 --- a/src/ui/React/Theme.tsx +++ b/src/ui/React/Theme.tsx @@ -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: {