trial and error again

This commit is contained in:
fmhyhalloweenshit 2026-01-02 15:05:50 +03:00 committed by GitHub
parent e67bace65b
commit caacdaa10d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,9 +24,9 @@ const STORAGE_KEY_AMOLED = 'vitepress-amoled-enabled'
export class ThemeHandler { export class ThemeHandler {
private state = ref<ThemeState>({ private state = ref<ThemeState>({
currentTheme: 'swarm', currentTheme: 'color-swarm',
currentMode: 'light' as DisplayMode, currentMode: 'light' as DisplayMode,
theme: null theme: themeRegistry['color-swarm']
}) })
private amoledEnabled = ref(false) private amoledEnabled = ref(false)