mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-27 08:27:32 +01:00
Add the black property to the theme interfaces, so that it can be used in the project elsewhere.
This commit is contained in:
parent
edfefcceda
commit
ddbb37c2d1
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user