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

@@ -133,7 +133,7 @@ export default function DebugLayoutPage() {
<h1 className="mb-4 text-2xl font-bold"> </h1>
<div className="space-y-4">
<div className="rounded bg-green-100 p-4">
<div className="rounded bg-emerald-100 p-4">
<h2 className="mb-2 font-semibold"> </h2>
<p> : {debugInfo.hasToken ? "✅ 예" : "❌ 아니오"}</p>
<p> : {debugInfo.tokenLength}</p>
@@ -142,14 +142,14 @@ export default function DebugLayoutPage() {
<p>SessionStorage : {debugInfo.sessionToken ? "✅ 존재" : "❌ 없음"}</p>
</div>
<div className="rounded bg-blue-100 p-4">
<div className="rounded bg-primary/10 p-4">
<h2 className="mb-2 font-semibold"> </h2>
<p> URL: {debugInfo.currentUrl}</p>
<p>Pathname: {debugInfo.pathname}</p>
<p>: {debugInfo.timestamp}</p>
</div>
<div className="rounded bg-yellow-100 p-4">
<div className="rounded bg-amber-100 p-4">
<h2 className="mb-2 font-semibold"> </h2>
<div className="space-x-2">
<button
@@ -157,11 +157,11 @@ export default function DebugLayoutPage() {
const token = localStorage.getItem("authToken");
alert(`토큰: ${token ? "존재" : "없음"}\n길이: ${token ? token.length : 0}`);
}}
className="rounded bg-blue-500 px-4 py-2 text-white hover:bg-blue-600"
className="rounded bg-primary px-4 py-2 text-white hover:bg-primary"
>
</button>
<button onClick={handleTokenSync} className="rounded bg-green-500 px-4 py-2 text-white hover:bg-green-600">
<button onClick={handleTokenSync} className="rounded bg-emerald-500 px-4 py-2 text-white hover:bg-emerald-600">
</button>
<button
@@ -173,13 +173,13 @@ export default function DebugLayoutPage() {
</div>
</div>
<div className="rounded bg-orange-100 p-4">
<div className="rounded bg-amber-100 p-4">
<h2 className="mb-2 font-semibold">API </h2>
<div className="mb-4 space-x-2">
<button onClick={handleApiTest} className="rounded bg-orange-500 px-4 py-2 text-white hover:bg-orange-600">
<button onClick={handleApiTest} className="rounded bg-amber-500 px-4 py-2 text-white hover:bg-orange-600">
API
</button>
<button onClick={handleUserApiTest} className="rounded bg-red-500 px-4 py-2 text-white hover:bg-red-600">
<button onClick={handleUserApiTest} className="rounded bg-destructive px-4 py-2 text-white hover:bg-destructive">
API
</button>
<button
@@ -194,7 +194,7 @@ export default function DebugLayoutPage() {
<div
className={`rounded p-3 ${
apiTestResult.status === "success"
? "bg-green-200"
? "bg-emerald-200"
: apiTestResult.status === "error"
? "bg-red-200"
: "bg-yellow-200"