docs: adjust press button gradient

This commit is contained in:
YunYouJun 2023-10-06 06:01:26 +08:00
parent 3fd37ea0b7
commit 754f0847dc
1 changed files with 4 additions and 3 deletions

View File

@ -12,9 +12,9 @@ const props = defineProps<{
const classes = computed(() => {
const arr = []
if (props.theme === 'brand')
arr.push('from-blue-500', 'to-blue-700')
arr.push('from-purple-700', 'to-indigo-600')
else
arr.push('from-gray-600', 'to-stone-700')
arr.push('from-gray-700', 'to-dark-300')
return arr
})
@ -27,7 +27,8 @@ const { t } = useI18n()
:to="link"
m="2"
:class="classes"
class="sese-btn btn rounded-full hover:shadow-lg" bg="gradient-to-r"
class="sese-btn btn transition rounded-full hover:shadow-md"
bg="gradient-to-r"
p="x-6"
>
{{ t(text) }}