feat(projects): support set global redius

This commit is contained in:
CyberShen123
2025-10-03 07:55:06 +08:00
committed by Soybean
parent 24c6df528b
commit 3549c4dbd5
7 changed files with 9 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ function getGradientColor(color: CardData['color']) {
<!-- define component start: GradientBg -->
<DefineGradientBg v-slot="{ $slots, gradientColor }">
<div
class="rd-8px px-16px pb-4px pt-8px text-white"
class="px-16px pb-4px pt-8px text-white"
:style="{ backgroundImage: gradientColor, borderRadius: themeStore.themeRadius + 'px' }"
>
<component :is="$slots.default" />