diff --git a/src/app/globals.css b/src/app/globals.css index c96b72e..e1e75e8 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -61,6 +61,8 @@ --spacing: 0.25rem; } +/* 테마에 무관한 변수(font, radius, shadow, chart)는 :root 에만 선언한다. + .dark 는 색상 토큰처럼 실제로 값이 달라지는 변수만 재정의한다. */ .dark { --background: oklch(0.205 0 0); --foreground: oklch(0.985 0 0); @@ -81,11 +83,6 @@ --border: oklch(0.32 0 0); --input: oklch(0.32 0 0); --ring: oklch(0.556 0 0); - --chart-1: oklch(0.81 0.1 252); - --chart-2: oklch(0.62 0.19 260); - --chart-3: oklch(0.55 0.22 263); - --chart-4: oklch(0.49 0.22 264); - --chart-5: oklch(0.42 0.18 266); --sidebar: oklch(0.269 0 0); --sidebar-foreground: oklch(0.985 0 0); --sidebar-primary: oklch(0.488 0.243 264.376); @@ -94,24 +91,6 @@ --sidebar-accent-foreground: oklch(0.985 0 0); --sidebar-border: oklch(0.46 0 0); --sidebar-ring: oklch(0.439 0 0); - --font-sans: "Pretendard Variable", ui-sans-serif, sans-serif, system-ui; - --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; - --font-mono: "Geist Mono Variable", ui-monospace, monospace; - --radius: 1rem; - --shadow-x: 0; - --shadow-y: 1px; - --shadow-blur: 3px; - --shadow-spread: 0px; - --shadow-opacity: 0.1; - --shadow-color: oklch(0 0 0); - --shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05); - --shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05); - --shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1); - --shadow: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1); - --shadow-md: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1); - --shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 4px 6px -1px hsl(0 0% 0% / 0.1); - --shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 8px 10px -1px hsl(0 0% 0% / 0.1); - --shadow-2xl: 0 1px 3px 0px hsl(0 0% 0% / 0.25); } @theme inline {