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:
7
src/models/globalState.ts
Normal file
7
src/models/globalState.ts
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user