1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-28 22:23:28 +00:00

[bug] Extend GlobalState to supply correct default theme (#1422)

* [bug] Extend GlobalState to supply correct default theme

The default theme for most clients is System, but web uses Light.
We need to extend GlobalState in web to reflect this.

* [chore] Update jslib
This commit is contained in:
Addison Beck
2022-01-31 14:53:55 -05:00
committed by GitHub
parent e3b962a779
commit d79f074825
4 changed files with 27 additions and 19 deletions

View File

@@ -0,0 +1,7 @@
import { ThemeType } from "jslib-common/enums/themeType";
import { GlobalState as BaseGlobalState } from "jslib-common/models/domain/globalState";
export class GlobalState extends BaseGlobalState {
theme?: ThemeType = ThemeType.Light;
}