mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53: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"];
|
||||
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: {
|
||||
|
Loading…
Reference in New Issue
Block a user