1
0
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:
Addison Beck
2022-01-28 05:28:36 -05:00
committed by GitHub
parent 6b4ed5fcce
commit ca5b057b43
4 changed files with 11 additions and 6 deletions

View File

@@ -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;