summaryrefslogtreecommitdiff
path: root/components/ship-vendor-document/add-attachment-dialog.tsx
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-09-09 06:51:44 +0000
committerjoonhoekim <26rote@gmail.com>2025-09-09 06:51:44 +0000
commitebcec3f296d1d27943caf8a3aed26efef117cdc5 (patch)
tree7b4111948b13c647f4412e3614a1a59e7af02f94 /components/ship-vendor-document/add-attachment-dialog.tsx
parentce2d3097d034a1c5dd29c6cf3740556d41c7e880 (diff)
(김준회) 돌체 관련, 다크모드 지원하도록 개선
- 가능하면 시멘틱 색상 사용(muted, muted-foreground) - 어려운 컬러는 dark: 변수로 다크모드 클래스 지정
Diffstat (limited to 'components/ship-vendor-document/add-attachment-dialog.tsx')
-rw-r--r--components/ship-vendor-document/add-attachment-dialog.tsx14
1 files changed, 7 insertions, 7 deletions
diff --git a/components/ship-vendor-document/add-attachment-dialog.tsx b/components/ship-vendor-document/add-attachment-dialog.tsx
index 8c5e17c8..6765bcf5 100644
--- a/components/ship-vendor-document/add-attachment-dialog.tsx
+++ b/components/ship-vendor-document/add-attachment-dialog.tsx
@@ -135,16 +135,16 @@ function FileUploadArea({
return (
<div className="space-y-4">
<div
- className="border-2 border-dashed border-gray-300 rounded-lg p-6 text-center cursor-pointer hover:border-gray-400 transition-colors"
+ className="border-2 border-dashed border-border rounded-lg p-6 text-center cursor-pointer hover:border-border transition-colors"
onDrop={handleDrop}
onDragOver={handleDragOver}
onClick={() => fileInputRef.current?.click()}
>
- <Paperclip className="mx-auto h-12 w-12 text-gray-400 mb-4" />
- <p className="text-sm text-gray-600 mb-2">
+ <Paperclip className="mx-auto h-12 w-12 text-muted-foreground mb-4" />
+ <p className="text-sm text-muted-foreground mb-2">
Drag files to add here or click to select
</p>
- <p className="text-xs text-gray-500">
+ <p className="text-xs text-muted-foreground">
Supports PDF, Word, Excel, Image, Text, ZIP, CAD files (DWG, DXF, STEP, STL, IGES) (max 1GB)
</p>
<p className="text-xs text-orange-600 mt-1">
@@ -167,15 +167,15 @@ function FileUploadArea({
{files.map((file, index) => (
<div
key={index}
- className="flex items-center justify-between p-2 bg-gray-50 rounded border"
+ className="flex items-center justify-between p-2 bg-muted/50 rounded border"
>
<div className="flex items-center space-x-2 flex-1">
- <FileText className="h-4 w-4 text-gray-500" />
+ <FileText className="h-4 w-4 text-muted-foreground" />
<div className="flex-1 min-w-0">
<p className="text-sm font-medium truncate" title={file.name}>
{file.name}
</p>
- <p className="text-xs text-gray-500">
+ <p className="text-xs text-muted-foreground">
{formatFileSize(file.size)}
</p>
</div>