refactor: 전체 프론트엔드 하드코딩 색상 → CSS 변수 일괄 치환

447+ 파일, 4500+ 줄 변경:
- gray-* → border/bg-muted/text-foreground/text-muted-foreground
- blue-* → primary/ring
- red-* → destructive
- green-* → emerald (일관성)
- indigo-* → primary
- yellow/orange → amber (통일)
- dark mode 변형도 시맨틱 토큰으로 변환

Made-with: Cursor
This commit is contained in:
DDD1542
2026-03-09 14:31:59 +09:00
parent d967cf0a0d
commit 4f10b5e42d
447 changed files with 4520 additions and 4520 deletions

View File

@@ -703,11 +703,11 @@ export const AccordionBasicComponent: React.FC<AccordionBasicComponentProps> = (
{loading ? (
<div className="flex h-full w-full items-center justify-center">
<div className="text-sm text-gray-500"> ...</div>
<div className="text-sm text-muted-foreground"> ...</div>
</div>
) : error && !isDesignMode ? (
<div className="flex h-full w-full items-center justify-center">
<div className="text-sm text-red-500">{error}</div>
<div className="text-sm text-destructive">{error}</div>
</div>
) : (
<div

View File

@@ -233,7 +233,7 @@ export const AccordionBasicConfigPanel: React.FC<AccordionBasicConfigPanelProps>
contentFields: newContentFields,
});
}}
className="h-8 w-8 p-0 text-red-500"
className="h-8 w-8 p-0 text-destructive"
>
<Trash2 className="h-4 w-4" />
</Button>
@@ -288,7 +288,7 @@ export const AccordionBasicConfigPanel: React.FC<AccordionBasicConfigPanelProps>
))}
{(!config.dataSource?.contentFields || config.dataSource.contentFields.length === 0) && (
<div className="py-4 text-center text-sm text-gray-500"> </div>
<div className="py-4 text-center text-sm text-muted-foreground"> </div>
)}
</div>
@@ -321,7 +321,7 @@ export const AccordionBasicConfigPanel: React.FC<AccordionBasicConfigPanelProps>
</Select>
</div>
<div className="text-muted-foreground rounded-lg bg-blue-50 p-3 text-sm">
<div className="text-muted-foreground rounded-lg bg-primary/10 p-3 text-sm">
💡 <strong> :</strong> ,
.
</div>
@@ -471,7 +471,7 @@ export const AccordionBasicConfigPanel: React.FC<AccordionBasicConfigPanelProps>
variant="ghost"
size="sm"
onClick={() => removeItem(item.id)}
className="h-8 w-8 p-0 text-red-500 hover:text-red-700"
className="h-8 w-8 p-0 text-destructive hover:text-destructive"
>
<Trash2 className="h-4 w-4" />
</Button>
@@ -520,7 +520,7 @@ export const AccordionBasicConfigPanel: React.FC<AccordionBasicConfigPanelProps>
))}
{localItems.length === 0 && (
<div className="py-8 text-center text-gray-500">
<div className="py-8 text-center text-muted-foreground">
<p className="text-sm"> .</p>
<p className="text-xs"> .</p>
</div>