Added dashboard page layout & sites overview

This commit is contained in:
2026-04-05 17:55:58 +02:00
parent 7bb7454d7f
commit a6f60a5a38
38 changed files with 2687 additions and 111 deletions
+9
View File
@@ -0,0 +1,9 @@
import type { Theme } from '@/components/theme-provider';
export function getEffectiveTheme(theme: Theme): 'light' | 'dark' {
return theme === 'system'
? window.matchMedia('(prefers-color-scheme: dark)').matches
? 'dark'
: 'light'
: theme;
}