feat(ui): refresh dashboard and paper boat branding

This commit is contained in:
WangShen007 committed 2026-10-22 17:44:36 +08:00
1 parent 6cd904d460
commit b3a53a7f58
93 files changed
+11134 -7543

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ export type ThemeMode = 'dark' | 'light' | 'system'
const STORAGE_KEY = 'rp-theme'
const stored = (typeof localStorage !== 'undefined' && localStorage.getItem(STORAGE_KEY)) || 'dark'
const stored = (typeof localStorage !== 'undefined' && localStorage.getItem(STORAGE_KEY)) || 'light'
const mode = ref<ThemeMode>(stored === 'light' || stored === 'system' ? (stored as ThemeMode) : 'dark')
const prefersDark = (): boolean =>