mirror of
https://github.com/bitwarden/jslib
synced 2025-12-22 03:03:15 +00:00
[refactor] Use ThemeType enum instead of string (#642)
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import { StateVersion } from "../../enums/stateVersion";
|
||||
import { ThemeType } from "../../enums/themeType";
|
||||
|
||||
import { EnvironmentUrls } from "./environmentUrls";
|
||||
import { WindowState } from "./windowState";
|
||||
|
||||
@@ -11,7 +13,7 @@ export class GlobalState {
|
||||
ssoOrganizationIdentifier?: string;
|
||||
ssoState?: string;
|
||||
rememberedEmail?: string;
|
||||
theme?: string = "light";
|
||||
theme?: ThemeType = ThemeType.Light;
|
||||
window?: WindowState = new WindowState();
|
||||
twoFactorToken?: string;
|
||||
disableFavicon?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user