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:
@@ -606,10 +606,10 @@ export const OptimizedButtonComponent: React.FC<OptimizedButtonProps> = ({
|
||||
return <Loader2 className="h-4 w-4 animate-spin" />;
|
||||
}
|
||||
if (lastResult?.success === false) {
|
||||
return <AlertCircle className="h-4 w-4 text-red-500" />;
|
||||
return <AlertCircle className="h-4 w-4 text-destructive" />;
|
||||
}
|
||||
if (lastResult?.success === true) {
|
||||
return <CheckCircle2 className="h-4 w-4 text-green-500" />;
|
||||
return <CheckCircle2 className="h-4 w-4 text-emerald-500" />;
|
||||
}
|
||||
return null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user