mirror of
https://github.com/fmhy/edit.git
synced 2026-01-12 15:01:06 +11:00
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:
parent
385728eb1b
commit
91ab13fa62
5 changed files with 24 additions and 185 deletions
|
|
@ -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)'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue