优化 主题代码同步

This commit is contained in:
Chen committed 2025-12-05 18:41:44 +08:00
1 parent 92c7b62c5d
commit 80349d54b5
8 files changed
+122 -351

No files matched your search

+1 -1
View File
@@ -674,7 +674,7 @@ function Sidebar() {
<button
onClick={handleDeleteLibrary}
disabled={isScanning()}
className="px-3 py-2 border border-red-300 dark:border-red-600 rounded-lg hover:bg-red-50 dark:hover:bg-red-900 text-red-600 dark:text-red-400 transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
className="px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700 text-gray-600 dark:text-gray-400 transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
title={isScanning() ? "扫描进行中,无法删除" : "删除当前素材库"}
>
<Trash2 className="w-4 h-4" />