Fix theme issues (#4527)

* thr33

* super safe

* i dont like addings messages atp

* eardrummer

* trial and error again

* kill everyone

* PLEASE BRAH

* .
This commit is contained in:
fmhyhalloweenshit 2026-01-02 16:07:08 +03:00 committed by GitHub
parent 57ef8769a2
commit 908a1d8ce4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 172 additions and 104 deletions

View file

@ -8,7 +8,7 @@ import type { Theme } from '../themes/types'
import Switch from './Switch.vue'
type ColorNames = keyof typeof colors
const selectedColor = useStorage<ColorNames>('preferred-color', 'christmas')
const selectedColor = useStorage<ColorNames>('preferred-color', 'swarm')
// Use the theme system
const { amoledEnabled, setAmoledEnabled, setTheme, state, mode, themeName } = useTheme()