update ThemeManager
This commit is contained in:
parent
a4bbad204d
commit
cbf719b1e2
@ -1,10 +1,9 @@
|
||||
import darkGreyTheme from "./DarkGrey";
|
||||
import darkTheme from "./DarkTheme";
|
||||
import defaultTheme from "./DefaultTheme";
|
||||
import oldTheme from "./OldTheme";
|
||||
import lightTheme from "./LightTheme";
|
||||
import greyTheme from "./GreyTheme";
|
||||
import { Theme } from "./Theme";
|
||||
import darkTheme from "./DarkTheme";
|
||||
|
||||
export const themes = [defaultTheme, darkGreyTheme, darkTheme, oldTheme];
|
||||
export const themes = [lightTheme, darkTheme, greyTheme];
|
||||
|
||||
const THEME_ID = "theme_id";
|
||||
|
||||
@ -12,7 +11,7 @@ export default class ThemeManager {
|
||||
_theme: Theme;
|
||||
onThemeChange: (theme: Theme) => void;
|
||||
constructor() {
|
||||
this._theme = this.readFromLocalStorage() || defaultTheme;
|
||||
this._theme = this.readFromLocalStorage() || lightTheme;
|
||||
}
|
||||
|
||||
public get theme() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user