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
This commit is contained in:
Samidy 2025-12-06 18:38:49 +03:00 committed by GitHub
parent 385728eb1b
commit 91ab13fa62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 24 additions and 185 deletions

View file

@ -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)'
}
}

View file

@ -39,7 +39,6 @@ const currentDisplayName = computed(() => {
<template>
<div>
<div class="mb-2 text-sm text-$vp-c-text-1">Theme</div>
<div class="text-sm text-$vp-c-text-2">
<span class="font-medium">Theme:</span>
<span class="ml-1">{{ currentDisplayName }}</span>