mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
Add the white property to the theme interfaces, so that it can be used in the project elsewhere.
This commit is contained in:
parent
91243f4742
commit
b3c5465ac2
@ -21,6 +21,7 @@ declare module "@mui/material/styles" {
|
|||||||
successlight: React.CSSProperties["color"];
|
successlight: React.CSSProperties["color"];
|
||||||
success: React.CSSProperties["color"];
|
success: React.CSSProperties["color"];
|
||||||
successdark: React.CSSProperties["color"];
|
successdark: React.CSSProperties["color"];
|
||||||
|
white: React.CSSProperties["color"];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
interface ThemeOptions {
|
interface ThemeOptions {
|
||||||
@ -38,6 +39,7 @@ declare module "@mui/material/styles" {
|
|||||||
successlight: React.CSSProperties["color"];
|
successlight: React.CSSProperties["color"];
|
||||||
success: React.CSSProperties["color"];
|
success: React.CSSProperties["color"];
|
||||||
successdark: React.CSSProperties["color"];
|
successdark: React.CSSProperties["color"];
|
||||||
|
white: React.CSSProperties["color"];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -60,6 +62,7 @@ export function refreshTheme(): void {
|
|||||||
successlight: Settings.theme.successlight,
|
successlight: Settings.theme.successlight,
|
||||||
success: Settings.theme.success,
|
success: Settings.theme.success,
|
||||||
successdark: Settings.theme.successdark,
|
successdark: Settings.theme.successdark,
|
||||||
|
white: Settings.theme.white,
|
||||||
},
|
},
|
||||||
palette: {
|
palette: {
|
||||||
primary: {
|
primary: {
|
||||||
|
Loading…
Reference in New Issue
Block a user