Skip to content

Commit 1bc2613

Browse files
committed
feat: use dark mode as default
1 parent 7d2e0d2 commit 1bc2613

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libs/blog/app-theme/data-access-app-theme/src/app-theme.store.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ export const AppThemeStore = signalStore(
3838
);
3939

4040
function getSystemTheme(): Theme {
41-
return window.matchMedia('(prefers-color-scheme: dark)').matches
42-
? 'dark'
43-
: 'light';
41+
// Hardcoded to 'dark' for now, as per decision.
42+
return 'dark';
4443
}
4544

4645
/* todo: create consumer interface and decouple AppThemeStore from CCAppThemeConsumer*/

0 commit comments

Comments
 (0)