- enum DDL 주석에 영문값 보강(status/role/delivery/usage_type/qt_type/supplier_type) - 견적상태 3종(생성/진행중/마감)으로 정리(ON_HOLD 제거), 배송 PARTNER→SUPPLIER - 대시보드 손질, 관련 테스트·negosium 견적유형 주석 동반 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
160 lines
5.2 KiB
CSS
160 lines
5.2 KiB
CSS
/*
|
|
* Design Tokens (Tailwind v4)
|
|
* negodata 디자인 시스템의 단일 소스. 색상 · 폰트 · radius.
|
|
*
|
|
* 다른 Tailwind v4 프로젝트에서 재사용하려면:
|
|
* 1) 이 파일을 복사하고
|
|
* 2) 엔트리 CSS에서 `@import "tailwindcss";` 다음에 `@import "./tokens.css";`
|
|
*
|
|
* 주의: --font-sans 는 'Pretendard Variable'(self-host)를 참조한다.
|
|
* 폰트를 함께 쓰려면 public/fonts/PretendardVariable.woff2 와 아래 @font-face도 옮길 것.
|
|
* 폰트 없으면 자동으로 'Geist Variable' → system-ui 로 폴백된다.
|
|
*/
|
|
|
|
@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-ring: var(--ring);
|
|
|
|
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
|
|
}
|
|
|
|
:root {
|
|
--background: #ffffff;
|
|
--background-rgb: 250, 250, 250;
|
|
--foreground: #0a0a0a;
|
|
--card: #ffffff;
|
|
--card-foreground: #0a0a0a;
|
|
--border: #e5e5e5;
|
|
--muted: #f5f5f5;
|
|
--muted-foreground: #737373;
|
|
--primary: #171717;
|
|
--primary-foreground: #fafafa;
|
|
--secondary: #f5f5f5;
|
|
--secondary-foreground: #171717;
|
|
--accent: #f5f5f5;
|
|
--destructive: #e7000b;
|
|
--destructive-foreground: #fafafa;
|
|
--success: #10b981;
|
|
--warning: #f59e0b;
|
|
--ring: #a1a1a1;
|
|
--popover: #ffffff;
|
|
--popover-foreground: #0a0a0a;
|
|
--accent-foreground: #171717;
|
|
--input: #e5e5e5;
|
|
--chart-1: #d4d4d4;
|
|
--chart-2: #737373;
|
|
--chart-3: #525252;
|
|
--chart-4: #404040;
|
|
--chart-5: #262626;
|
|
--radius: 0.625rem;
|
|
--sidebar: #fafafa;
|
|
--sidebar-foreground: #0a0a0a;
|
|
--sidebar-primary: #171717;
|
|
--sidebar-primary-foreground: #fafafa;
|
|
--sidebar-accent: #f5f5f5;
|
|
--sidebar-accent-foreground: #171717;
|
|
--sidebar-border: #e5e5e5;
|
|
--sidebar-ring: #a1a1a1;
|
|
}
|
|
|
|
.dark {
|
|
--background: #0a0a0a;
|
|
--background-rgb: 9, 9, 11;
|
|
--foreground: #fafafa;
|
|
--card: #171717;
|
|
--card-foreground: #fafafa;
|
|
--border: #ffffff1a;
|
|
--muted: #262626;
|
|
--muted-foreground: #a1a1a1;
|
|
--primary: #e5e5e5;
|
|
--primary-foreground: #171717;
|
|
--secondary: #262626;
|
|
--secondary-foreground: #fafafa;
|
|
--accent: #262626;
|
|
--destructive: #ff6467;
|
|
--destructive-foreground: #fafafa;
|
|
--success: #10b981;
|
|
--warning: #f59e0b;
|
|
--ring: #737373;
|
|
--popover: #171717;
|
|
--popover-foreground: #fafafa;
|
|
--accent-foreground: #fafafa;
|
|
--input: #ffffff26;
|
|
--chart-1: #d4d4d4;
|
|
--chart-2: #737373;
|
|
--chart-3: #525252;
|
|
--chart-4: #404040;
|
|
--chart-5: #262626;
|
|
--sidebar: #171717;
|
|
--sidebar-foreground: #fafafa;
|
|
--sidebar-primary: #1447e6;
|
|
--sidebar-primary-foreground: #fafafa;
|
|
--sidebar-accent: #262626;
|
|
--sidebar-accent-foreground: #fafafa;
|
|
--sidebar-border: #ffffff1a;
|
|
--sidebar-ring: #737373;
|
|
}
|
|
|
|
@theme inline {
|
|
--font-heading: var(--font-sans);
|
|
--font-sans: 'Pretendard Variable', 'Geist Variable', 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);
|
|
}
|