Skip to content

Commit

Permalink
use system theme by default
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan0xC committed Sep 13, 2024
1 parent 6d40dba commit 8e009de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/app/core/core.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const safeProviders: SafeProvider[] = [
provide: ThemeStateService,
useFactory: (globalStateProvider: GlobalStateProvider) =>
// Web chooses to have Light as the default theme
new DefaultThemeStateService(globalStateProvider, ThemeType.Light),
new DefaultThemeStateService(globalStateProvider, ThemeType.System),
deps: [GlobalStateProvider],
}),
safeProvider({
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/settings/preferences.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class PreferencesComponent implements OnInit {
vaultTimeout: [null as VaultTimeout | null],
vaultTimeoutAction: [VaultTimeoutAction.Lock],
enableFavicons: true,
theme: [ThemeType.Light],
theme: [ThemeType.System],
locale: [null as string | null],
});

Expand Down

0 comments on commit 8e009de

Please sign in to comment.