SYNC: fix

This commit is contained in:
SPRINX0\prochazka
2025-04-02 11:58:28 +02:00
committed by Diflow
parent 68ef50ca46
commit 0a694eea8a

View File

@@ -28,7 +28,7 @@ export interface TabDefinition {
const darkModeMediaQuery = window.matchMedia ? window.matchMedia('(prefers-color-scheme: dark)') : null;
const systemThemeStore = writable(darkModeMediaQuery?.matches ? 'theme-dark' : 'theme-light');
export const systemThemeStore = writable(darkModeMediaQuery?.matches ? 'theme-dark' : 'theme-light');
if (darkModeMediaQuery) {
darkModeMediaQuery.addEventListener('change', e => {