From b3c5465ac22aa6d7a1413cd2b2262d5b12fbb4a1 Mon Sep 17 00:00:00 2001 From: FaintSpeaker Date: Wed, 29 Dec 2021 12:00:02 -0500 Subject: [PATCH] Add the white 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 cbbb1bb37..27b9bd214 100644 --- a/src/ui/React/Theme.tsx +++ b/src/ui/React/Theme.tsx @@ -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: {