From 91ab13fa62abc4da4d0a2ac637259419abd37c58 Mon Sep 17 00:00:00 2001 From: Samidy Date: Sat, 6 Dec 2025 18:38:49 +0300 Subject: [PATCH] Fix Theme titling twice, improve catppuccin theme, fix gradients (#4394) * Remove "Theme:", make TRUE catppuccin and remove uneeded dark.ts * testing out text colors for catppuccin * change colors ig * change up gradients * update gradients for dark mode too --- .../theme/components/ColorPicker.vue | 8 +- .../theme/components/ThemeSelector.vue | 1 - .../theme/themes/configs/catppuccin.ts | 37 ++-- .../theme/themes/configs/christmas.ts | 2 +- docs/.vitepress/theme/themes/configs/dark.ts | 161 ------------------ 5 files changed, 24 insertions(+), 185 deletions(-) delete mode 100644 docs/.vitepress/theme/themes/configs/dark.ts diff --git a/docs/.vitepress/theme/components/ColorPicker.vue b/docs/.vitepress/theme/components/ColorPicker.vue index 61814b1a0..a4102dace 100644 --- a/docs/.vitepress/theme/components/ColorPicker.vue +++ b/docs/.vitepress/theme/components/ColorPicker.vue @@ -117,8 +117,8 @@ const generateThemeFromColor = (colorName: ColorNames): Theme => { }, home: { heroNameColor: 'transparent', - heroNameBackground: `-webkit-linear-gradient(120deg, ${colorSet[400]} 30%, ${colorSet[500]})`, - heroImageBackground: `linear-gradient(-45deg, ${colorSet[400]} 50%, ${colorSet[500]} 50%)`, + heroNameBackground: '-webkit-linear-gradient(120deg, #c4b5fd 30%, #7bc5e4)', + heroImageBackground: 'linear-gradient(-45deg, #c4b5fd 50%, #47caff 50%)', heroImageFilter: 'blur(44px)' } }, @@ -182,8 +182,8 @@ const generateThemeFromColor = (colorName: ColorNames): Theme => { }, home: { heroNameColor: 'transparent', - heroNameBackground: `-webkit-linear-gradient(120deg, ${colorSet[400]} 30%, ${colorSet[500]})`, - heroImageBackground: `linear-gradient(-45deg, ${colorSet[400]} 50%, ${colorSet[500]} 50%)`, + heroNameBackground: '-webkit-linear-gradient(120deg, #c4b5fd 30%, #7bc5e4)', + heroImageBackground: 'linear-gradient(-45deg, #c4b5fd 50%, #47caff 50%)', heroImageFilter: 'blur(44px)' } } diff --git a/docs/.vitepress/theme/components/ThemeSelector.vue b/docs/.vitepress/theme/components/ThemeSelector.vue index 1653f3d27..5bcda29bf 100644 --- a/docs/.vitepress/theme/components/ThemeSelector.vue +++ b/docs/.vitepress/theme/components/ThemeSelector.vue @@ -39,7 +39,6 @@ const currentDisplayName = computed(() => {