feat(web): auth/ui/notifications pinia stores + theme composable

This commit is contained in:
2026-04-29 07:45:20 +08:00
parent 35b812e594
commit 7c164f6aea
4 changed files with 108 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import { useUIStore } from '@/stores/ui'
export function useTheme() {
const ui = useUIStore()
return {
mode: ui.themeMode,
isDark: ui.effectiveDark,
setMode: ui.setThemeMode,
}
}