renamed alfdir to katlum
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 35s

This commit is contained in:
2026-03-20 00:50:27 +01:00
parent afd6164e69
commit db88c5aaa7
3 changed files with 28 additions and 12 deletions

View File

@@ -1,10 +1,10 @@
import { ref, onMounted, watch } from 'vue'
type Theme = 'light' | 'dark'
type Accent = 'alfdir'
type Accent = 'katlum'
const theme = ref<Theme>('light')
const accent = ref<Accent>('alfdir')
const accent = ref<Accent>('katlum')
const applyTheme = () => {
document.documentElement.setAttribute('data-theme', theme.value)
@@ -30,7 +30,7 @@ const setupTheme = () => {
const media = window.matchMedia('(prefers-color-scheme: dark)')
theme.value = savedTheme || (media.matches ? 'dark' : 'light')
accent.value = savedAccent || 'alfdir'
accent.value = savedAccent || 'katlum'
applyTheme()