mirror of https://github.com/YunYouJun/valaxy
docs: adjust press button gradient
This commit is contained in:
parent
3fd37ea0b7
commit
754f0847dc
|
@ -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) }}
|
||||
|
|
Loading…
Reference in New Issue