set disabled color

This commit is contained in:
Olivier Gagnon
2021-09-26 21:37:22 -04:00
parent b5abbbc240
commit d6584386ff
3 changed files with 18 additions and 1 deletions
+5
View File
@@ -33,6 +33,7 @@ declare module "@mui/material/styles" {
let theme: Theme;
export function refreshTheme(): void {
console.log(Settings.theme.disabled);
theme = createTheme({
colors: {
hp: Settings.theme.hp,
@@ -73,6 +74,10 @@ export function refreshTheme(): void {
default: Settings.theme.black,
paper: Settings.theme.well,
},
action: {
disabledBackground: Settings.theme.disabled,
disabled: Settings.theme.disabled,
},
},
typography: {
fontFamily: "monospace",