We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56e4ac2 commit 2b38edfCopy full SHA for 2b38edf
packages/themes/src/lib/provider.tsx
@@ -77,7 +77,7 @@ export const ThemeProvider = component$<ThemeProviderProps>(
77
({ cleanup }) => {
78
setTimeout(() => {
79
themeSig.value = localStorage.getItem(storageKey) || defaultTheme;
80
- }, 1000);
+ }, 2000);
81
const media = window.matchMedia('(prefers-color-scheme: dark)');
82
83
const handleMediaQuery = $(async (e: MediaQueryListEvent | MediaQueryList) => {
0 commit comments