🔴 强化删除按钮颜色

This commit is contained in:
2026-06-05 13:23:23 +08:00
parent df6b99961f
commit a0e5ea56d5
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ const variantClasses = computed(() => {
}
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') {
+2 -2
View File
@@ -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="[
isDarkMode
? 'bg-[#5f383f]/70 text-[#ecd1d6] hover:bg-[#71454d]'
: 'bg-[#f1e2e5] text-[#8b5962] hover:bg-[#e8d3d7]'
? 'bg-[#dc2626] text-white shadow-[#7f1d1d]/35 hover:bg-[#b91c1c]'
: 'bg-[#dc2626] text-white shadow-[#f87171]/35 hover:bg-[#b91c1c]'
]"
@click="deleteFile(file.id)"
>