From ff6e7092dd441f30aa899d042e16e6a40768fd4f Mon Sep 17 00:00:00 2001 From: fmhyhalloweenshit Date: Thu, 1 Jan 2026 11:33:57 +0300 Subject: [PATCH] swarm + catppuccin maybe? --- docs/.vitepress/theme/themes/themeHandler.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/.vitepress/theme/themes/themeHandler.ts b/docs/.vitepress/theme/themes/themeHandler.ts index eb8ce5a29..d0ae2579a 100644 --- a/docs/.vitepress/theme/themes/themeHandler.ts +++ b/docs/.vitepress/theme/themes/themeHandler.ts @@ -25,9 +25,9 @@ const STORAGE_KEY_THEME_DATA = 'vitepress-theme-data' export class ThemeHandler { private state = ref({ - currentTheme: 'christmas', + currentTheme: 'catppuccin', currentMode: 'light' as DisplayMode, - theme: themeRegistry.christmas + theme: themeRegistry.catppuccin }) private amoledEnabled = ref(false) @@ -39,7 +39,7 @@ export class ThemeHandler { if (typeof window === 'undefined') return // Load saved preferences - const savedTheme = localStorage.getItem(STORAGE_KEY_THEME) || 'christmas' + const savedTheme = localStorage.getItem(STORAGE_KEY_THEME) || 'swarm' const savedMode = localStorage.getItem(STORAGE_KEY_MODE) as DisplayMode | null const savedAmoled = localStorage.getItem(STORAGE_KEY_AMOLED) === 'true' @@ -263,8 +263,8 @@ export class ThemeHandler { public setTheme(themeName: string) { if (!themeRegistry[themeName]) { - console.warn(`Theme "${themeName}" not found. Using christmas theme.`) - themeName = 'christmas' + console.warn(`Theme "${themeName}" not found. Using catppuccin theme.`) + themeName = 'catppuccin' } this.state.value.currentTheme = themeName