Persistent color theme

This commit is contained in:
Riyyi
2025-04-04 00:29:23 +02:00
parent fb261625ff
commit a205f7ff95
9 changed files with 171 additions and 74 deletions
+3
View File
@@ -12,6 +12,9 @@ import { useStateStore } from "@/stores/stateStore";
const router = useRouter();
const store = useStateStore();
// Set dark theme
store.applyColorMode();
useHead({
titleTemplate: (titleChunk: string | undefined): string | null => {
return titleChunk ? `${titleChunk} - website-vue` : 'website-vue';