优化色彩

This commit is contained in:
叮叮当
2023-08-05 08:53:40 +08:00
parent 4b954cc9d5
commit d61f0bc8d1
+3 -3
View File
@@ -49,7 +49,7 @@ function goPersonDetail() {
@click.stop="goPersonDetail" @click.stop="goPersonDetail"
> >
<div <div
class="person-card relative transform-gpu cursor-pointer rounded text-white shadow ring-1 transition duration-150 ease-in-out scale-100 ring-gray-700" class="person-card relative transform-gpu cursor-pointer rounded shadow ring-1 transition duration-150 ease-in-out scale-100 ring-gray-700"
> >
<div style="padding-bottom: 150%;"> <div style="padding-bottom: 150%;">
<div class="absolute inset-0 flex h-full w-full flex-col items-center p-2"> <div class="absolute inset-0 flex h-full w-full flex-col items-center p-2">
@@ -85,10 +85,10 @@ function goPersonDetail() {
<style lang="scss"> <style lang="scss">
.person-card { .person-card {
background-image: linear-gradient(45deg, #99999b, #384359 60%); background-image: linear-gradient(45deg, rgb(var(--v-theme-background)), rgb(var(--v-theme-surface)) 60%);
} }
.person-card:hover { .person-card:hover {
background-image: linear-gradient(45deg, #bbbbbd, #8597aa 60%); background-image: linear-gradient(45deg, rgb(var(--v-theme-background)), rgb(var(--v-custom-background)) 60%);
} }
</style> </style>