🔴 强化删除按钮颜色
This commit is contained in:
@@ -66,7 +66,7 @@ const variantClasses = computed(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (props.variant === 'danger') {
|
if (props.variant === 'danger') {
|
||||||
return `${baseClasses} bg-[#9b6a72] text-white shadow-[#c9a4aa]/35 hover:bg-[#895c63] focus:ring-[#b98f97]`
|
return `${baseClasses} bg-[#dc2626] text-white shadow-[#f87171]/35 hover:bg-[#b91c1c] focus:ring-[#ef4444]`
|
||||||
}
|
}
|
||||||
|
|
||||||
if (props.variant === 'success') {
|
if (props.variant === 'success') {
|
||||||
|
|||||||
@@ -557,8 +557,8 @@
|
|||||||
class="inline-flex items-center rounded-[30px] px-3 py-1.5 shadow-sm transition-all duration-200 hover:shadow-md"
|
class="inline-flex items-center rounded-[30px] px-3 py-1.5 shadow-sm transition-all duration-200 hover:shadow-md"
|
||||||
:class="[
|
:class="[
|
||||||
isDarkMode
|
isDarkMode
|
||||||
? 'bg-[#5f383f]/70 text-[#ecd1d6] hover:bg-[#71454d]'
|
? 'bg-[#dc2626] text-white shadow-[#7f1d1d]/35 hover:bg-[#b91c1c]'
|
||||||
: 'bg-[#f1e2e5] text-[#8b5962] hover:bg-[#e8d3d7]'
|
: 'bg-[#dc2626] text-white shadow-[#f87171]/35 hover:bg-[#b91c1c]'
|
||||||
]"
|
]"
|
||||||
@click="deleteFile(file.id)"
|
@click="deleteFile(file.id)"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user