Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

some fix & update

Maksim Mrug11096060962a
diff --git a/app/redux/reducers/ui/theme.ts b/app/redux/reducers/ui/theme.ts
index 52de16f0e..ed617939c 100644
--- a/app/redux/reducers/ui/theme.ts
+++ b/app/redux/reducers/ui/theme.ts
@@ -35,6 +35,12 @@ const getInitialTheme = (): 'light' | 'dark' => {
return lsTheme
}
+ // const userMedia = window.matchMedia('(prefers-color-scheme: dark)')
+ // if (userMedia.matches) {
+ // setTheme('dark')
+ // return 'dark'
+ // }
+
setTheme('light')
return 'light' // light theme as the default
}