/* Design Tokens (Tailwind v4) — o2o-web4ai 관리자(빌더). */ @custom-variant dark (&:is(.dark *)); @theme { --color-background: var(--background); --color-background-rgb: var(--background-rgb); --color-foreground: var(--foreground); --color-card: var(--card); --color-card-foreground: var(--card-foreground); --color-border: var(--border); --color-muted: var(--muted); --color-muted-foreground: var(--muted-foreground); --color-primary: var(--primary); --color-primary-foreground: var(--primary-foreground); --color-secondary: var(--secondary); --color-secondary-foreground: var(--secondary-foreground); --color-accent: var(--accent); --color-destructive: var(--destructive); --color-destructive-foreground: var(--destructive-foreground); --color-success: var(--success); --color-warning: var(--warning); --color-info: var(--info); --color-ring: var(--ring); --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif; /* 모노 폰트엔 한글 글리프가 없다 — Pretendard 를 넣어야 한글이 OS 기본(Windows 굴림)으로 떨어지지 않는다 */ --font-mono: "JetBrains Mono", Consolas, "Segoe UI Mono", ui-monospace, SFMono-Regular, "Menlo", "Pretendard Variable", "Noto Sans KR", monospace; } :root { /* 뉴트럴은 인디고로 아주 살짝 기운 회색 계열. */ --background: #fcfcfd; --background-rgb: 252, 252, 253; --foreground: #202433; --card: #ffffff; --card-foreground: #202433; --border: #e9e9ef; --muted: #f1f1f5; --muted-foreground: #6c7086; --primary: #18181b; /* 원본 프로토타입의 슬레이트 블랙. */ --primary-foreground: #ffffff; --secondary: #f1f1f5; --secondary-foreground: #33384d; --accent: #f4f4f5; /* 메뉴 hover·선택 표면 */ --destructive: #d92d20; --destructive-foreground: #fafafa; --success: #17b26a; --warning: #f79009; --info: #6172f3; --ring: #18181b; --popover: #ffffff; --popover-foreground: #202433; --accent-foreground: #18181b; --input: #e4e4ec; /* 차트 카테고리 팔레트 — 고정 순서(식별용), CVD·대비 검증 통과. */ --chart-1: #3b82f6; --chart-2: #10b981; --chart-3: #f59e0b; --chart-4: #a855f7; --chart-5: #f43f5e; --radius: 0.5rem; /* 사이드바 = 캔버스보다 반 단계 어두운 조용한 회색 면. */ --sidebar: #f7f7f9; --sidebar-foreground: #5f6377; --sidebar-primary: #18181b; --sidebar-primary-foreground: #ffffff; --sidebar-accent: #f4f4f5; --sidebar-accent-foreground: #18181b; --sidebar-border: #e9e9ef; --sidebar-ring: #5e6ad2; } .dark { --background: #141419; --background-rgb: 20, 20, 25; --foreground: #e6e6ee; --card: #1b1b22; --card-foreground: #e6e6ee; --border: #ffffff14; --muted: #24242d; --muted-foreground: #9a9dae; --primary: #fafafa; /* 다크는 반전 — 밝은 표면에 진한 글자. */ --primary-foreground: #16161d; --secondary: #24242d; --secondary-foreground: #e6e6ee; --accent: #26262f; --destructive: #f97066; --destructive-foreground: #fafafa; --success: #17b26a; --warning: #f79009; --info: #8b93e8; --ring: #a1a1aa; --popover: #1b1b22; --popover-foreground: #e6e6ee; --accent-foreground: #ffffff; --input: #ffffff26; /* 라이트와 같은 순서, 다크 표면 밝기 밴드에 맞춰 emerald·amber 만 한 단계 진하게 */ --chart-1: #3b82f6; --chart-2: #059669; --chart-3: #d97706; --chart-4: #a855f7; --chart-5: #f43f5e; --sidebar: #18181f; --sidebar-foreground: #9a9dae; --sidebar-primary: #fafafa; --sidebar-primary-foreground: #16161d; --sidebar-accent: #26262f; --sidebar-accent-foreground: #ffffff; --sidebar-border: #ffffff12; --sidebar-ring: #8b93e8; } @theme inline { --font-heading: var(--font-sans); --font-sans: 'Pretendard Variable', 'Noto Sans KR', system-ui, sans-serif; --color-sidebar-ring: var(--sidebar-ring); --color-sidebar-border: var(--sidebar-border); --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); --color-sidebar-accent: var(--sidebar-accent); --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); --color-sidebar-primary: var(--sidebar-primary); --color-sidebar-foreground: var(--sidebar-foreground); --color-sidebar: var(--sidebar); --color-chart-5: var(--chart-5); --color-chart-4: var(--chart-4); --color-chart-3: var(--chart-3); --color-chart-2: var(--chart-2); --color-chart-1: var(--chart-1); --color-ring: var(--ring); --color-input: var(--input); --color-border: var(--border); --color-destructive: var(--destructive); --color-destructive-foreground: var(--destructive-foreground); --color-accent-foreground: var(--accent-foreground); --color-accent: var(--accent); --color-muted-foreground: var(--muted-foreground); --color-muted: var(--muted); --color-secondary-foreground: var(--secondary-foreground); --color-secondary: var(--secondary); --color-primary-foreground: var(--primary-foreground); --color-primary: var(--primary); --color-popover-foreground: var(--popover-foreground); --color-popover: var(--popover); --color-card-foreground: var(--card-foreground); --color-card: var(--card); --color-foreground: var(--foreground); --color-background: var(--background); --radius-sm: calc(var(--radius) * 0.6); --radius-md: calc(var(--radius) * 0.8); --radius-lg: var(--radius); --radius-xl: calc(var(--radius) * 1.4); --radius-2xl: calc(var(--radius) * 1.8); --radius-3xl: calc(var(--radius) * 2.2); --radius-4xl: calc(var(--radius) * 2.6); }