优化 主题代码同步

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

+5 -5
View File
@@ -840,7 +840,7 @@ function RightPanel() {
{/* Progressive Image Preview */}
<div className="p-4 border-b border-gray-200 dark:border-gray-700 flex-shrink-0">
<div className="w-full aspect-square bg-gray-100 dark:bg-gray-700 rounded-lg overflow-hidden relative">
<div className="w-full aspect-square bg-transparent border border-gray-200 dark:border-gray-600 rounded-lg overflow-hidden relative">
<img
src={imageUrl}
alt={displayImage.filename}
@@ -1019,7 +1019,7 @@ function RightPanel() {
className={`w-full flex items-center justify-center gap-2 px-4 py-2 rounded-lg transition-all ${
imageCopied
? 'bg-green-500 text-white'
: 'bg-blue-500 text-white hover:bg-blue-600'
: 'bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-600'
}`}
>
{imageCopied ? (
@@ -1065,7 +1065,7 @@ function RightPanel() {
<button
onClick={exportCurrentFolder}
disabled={isExportingFolder}
className="w-full flex flex-col items-center justify-center gap-2 px-4 py-2 bg-purple-500 text-white rounded-lg hover:bg-purple-600 transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
className="w-full flex flex-col items-center justify-center gap-2 px-4 py-2 bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-300 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-600 transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
>
<div className="flex items-center gap-2">
<FolderDown className="w-4 h-4" />
@@ -1077,9 +1077,9 @@ function RightPanel() {
</span>
</div>
{isExportingFolder && (
<div className="w-full bg-purple-300 rounded-full h-1.5 mt-1">
<div className="w-full bg-gray-300 dark:bg-gray-600 rounded-full h-1.5 mt-1">
<div
className="bg-white h-1.5 rounded-full transition-all duration-300"
className="bg-gray-700 dark:bg-gray-300 h-1.5 rounded-full transition-all duration-300"
style={{ width: `${folderExportProgress}%` }}
/>
</div>