|
5 | 5 | @custom-variant dark (&:is(.dark *)); |
6 | 6 |
|
7 | 7 | :root { |
8 | | - --background: hsl(0 0% 100%); |
9 | | - --foreground: hsl(240 10% 3.9%); |
10 | | - --card: hsl(0 0% 100%); |
11 | | - --card-foreground: hsl(240 10% 3.9%); |
12 | | - --popover: hsl(0 0% 100%); |
13 | | - --popover-foreground: hsl(240 10% 3.9%); |
14 | | - --primary: hsl(240 5.9% 10%); |
15 | | - --primary-foreground: hsl(0 0% 98%); |
16 | | - --secondary: hsl(240 4.8% 95.9%); |
17 | | - --secondary-foreground: hsl(240 5.9% 10%); |
18 | | - --muted: hsl(240 4.8% 95.9%); |
19 | | - --muted-foreground: hsl(240 3.8% 46.1%); |
20 | | - --accent: hsl(240 4.8% 95.9%); |
21 | | - --accent-foreground: hsl(240 5.9% 10%); |
22 | | - --destructive: hsl(0 84.2% 60.2%); |
23 | | - --destructive-foreground: hsl(0 0% 98%); |
24 | | - --border: hsl(240 5.9% 90%); |
25 | | - --input: hsl(240 5.9% 90%); |
26 | | - --ring: hsl(240 10% 3.9%); |
27 | | - --chart-1: hsl(12 76% 61%); |
28 | | - --chart-2: hsl(173 58% 39%); |
29 | | - --chart-3: hsl(197 37% 24%); |
30 | | - --chart-4: hsl(43 74% 66%); |
31 | | - --chart-5: hsl(27 87% 67%); |
32 | | - --radius: 0.6rem; |
33 | | - --sidebar-background: hsl(0 0% 98%); |
34 | | - --sidebar-foreground: hsl(240 5.3% 26.1%); |
35 | | - --sidebar-primary: hsl(240 5.9% 10%); |
36 | | - --sidebar-primary-foreground: hsl(0 0% 98%); |
37 | | - --sidebar-accent: hsl(240 4.8% 95.9%); |
38 | | - --sidebar-accent-foreground: hsl(240 5.9% 10%); |
39 | | - --sidebar-border: hsl(220 13% 91%); |
40 | | - --sidebar-ring: hsl(217.2 91.2% 59.8%); |
| 8 | + --card: oklch(1 0 0); |
| 9 | + --card-foreground: oklch(0.145 0 0); |
| 10 | + --popover: oklch(1 0 0); |
| 11 | + --popover-foreground: oklch(0.145 0 0); |
| 12 | + --primary: oklch(0.205 0 0); |
| 13 | + --primary-foreground: oklch(0.985 0 0); |
| 14 | + --secondary: oklch(0.97 0 0); |
| 15 | + --secondary-foreground: oklch(0.205 0 0); |
| 16 | + --muted: oklch(0.97 0 0); |
| 17 | + --muted-foreground: oklch(0.556 0 0); |
| 18 | + --accent: oklch(0.97 0 0); |
| 19 | + --accent-foreground: oklch(0.205 0 0); |
| 20 | + --destructive: oklch(0.577 0.245 27.325); |
| 21 | + --destructive-foreground: oklch(0.577 0.245 27.325); |
| 22 | + --border: oklch(0.922 0 0); |
| 23 | + --input: oklch(0.922 0 0); |
| 24 | + --ring: oklch(0.87 0 0); |
| 25 | + --chart-1: oklch(0.646 0.222 41.116); |
| 26 | + --chart-2: oklch(0.6 0.118 184.704); |
| 27 | + --chart-3: oklch(0.398 0.07 227.392); |
| 28 | + --chart-4: oklch(0.828 0.189 84.429); |
| 29 | + --chart-5: oklch(0.769 0.188 70.08); |
| 30 | + --radius: 0.625rem; |
| 31 | + --sidebar: oklch(0.985 0 0); |
| 32 | + --sidebar-foreground: oklch(0.145 0 0); |
| 33 | + --sidebar-primary: oklch(0.205 0 0); |
| 34 | + --sidebar-primary-foreground: oklch(0.985 0 0); |
| 35 | + --sidebar-accent: oklch(0.97 0 0); |
| 36 | + --sidebar-accent-foreground: oklch(0.205 0 0); |
| 37 | + --sidebar-border: oklch(0.922 0 0); |
| 38 | + --sidebar-ring: oklch(0.87 0 0); |
| 39 | + --background: oklch(1 0 0); |
| 40 | + --foreground: oklch(0.145 0 0); |
41 | 41 | } |
42 | 42 |
|
43 | 43 | .dark { |
44 | | - --background: hsl(240 10% 3.9%); |
45 | | - --foreground: hsl(0 0% 98%); |
46 | | - --card: hsl(240 10% 3.9%); |
47 | | - --card-foreground: hsl(0 0% 98%); |
48 | | - --popover: hsl(240 10% 3.9%); |
49 | | - --popover-foreground: hsl(0 0% 98%); |
50 | | - --primary: hsl(0 0% 98%); |
51 | | - --primary-foreground: hsl(240 5.9% 10%); |
52 | | - --secondary: hsl(240 3.7% 15.9%); |
53 | | - --secondary-foreground: hsl(0 0% 98%); |
54 | | - --muted: hsl(240 3.7% 15.9%); |
55 | | - --muted-foreground: hsl(240 5% 64.9%); |
56 | | - --accent: hsl(240 3.7% 15.9%); |
57 | | - --accent-foreground: hsl(0 0% 98%); |
58 | | - --destructive: hsl(0 62.8% 30.6%); |
59 | | - --destructive-foreground: hsl(0 0% 98%); |
60 | | - --border: hsl(240 3.7% 15.9%); |
61 | | - --input: hsl(240 3.7% 15.9%); |
62 | | - --ring: hsl(240 4.9% 83.9%); |
63 | | - --chart-1: hsl(220 70% 50%); |
64 | | - --chart-2: hsl(160 60% 45%); |
65 | | - --chart-3: hsl(30 80% 55%); |
66 | | - --chart-4: hsl(280 65% 60%); |
67 | | - --chart-5: hsl(340 75% 55%); |
68 | | - --sidebar-background: hsl(240 5.9% 10%); |
69 | | - --sidebar-foreground: hsl(240 4.8% 95.9%); |
70 | | - --sidebar-primary: hsl(224.3 76.3% 48%); |
71 | | - --sidebar-primary-foreground: hsl(0 0% 100%); |
72 | | - --sidebar-accent: hsl(240 3.7% 15.9%); |
73 | | - --sidebar-accent-foreground: hsl(240 4.8% 95.9%); |
74 | | - --sidebar-border: hsl(240 3.7% 15.9%); |
75 | | - --sidebar-ring: hsl(217.2 91.2% 59.8%); |
| 44 | + --background: oklch(0.145 0 0); |
| 45 | + --foreground: oklch(0.985 0 0); |
| 46 | + --card: oklch(0.145 0 0); |
| 47 | + --card-foreground: oklch(0.985 0 0); |
| 48 | + --popover: oklch(0.145 0 0); |
| 49 | + --popover-foreground: oklch(0.985 0 0); |
| 50 | + --primary: oklch(0.985 0 0); |
| 51 | + --primary-foreground: oklch(0.205 0 0); |
| 52 | + --secondary: oklch(0.269 0 0); |
| 53 | + --secondary-foreground: oklch(0.985 0 0); |
| 54 | + --muted: oklch(0.269 0 0); |
| 55 | + --muted-foreground: oklch(0.708 0 0); |
| 56 | + --accent: oklch(0.269 0 0); |
| 57 | + --accent-foreground: oklch(0.985 0 0); |
| 58 | + --destructive: oklch(0.396 0.141 25.723); |
| 59 | + --destructive-foreground: oklch(0.637 0.237 25.331); |
| 60 | + --border: oklch(0.269 0 0); |
| 61 | + --input: oklch(0.269 0 0); |
| 62 | + --ring: oklch(0.439 0 0); |
| 63 | + --chart-1: oklch(0.488 0.243 264.376); |
| 64 | + --chart-2: oklch(0.696 0.17 162.48); |
| 65 | + --chart-3: oklch(0.769 0.188 70.08); |
| 66 | + --chart-4: oklch(0.627 0.265 303.9); |
| 67 | + --chart-5: oklch(0.645 0.246 16.439); |
| 68 | + --sidebar: oklch(0.205 0 0); |
| 69 | + --sidebar-foreground: oklch(0.985 0 0); |
| 70 | + --sidebar-primary: oklch(0.488 0.243 264.376); |
| 71 | + --sidebar-primary-foreground: oklch(0.985 0 0); |
| 72 | + --sidebar-accent: oklch(0.269 0 0); |
| 73 | + --sidebar-accent-foreground: oklch(0.985 0 0); |
| 74 | + --sidebar-border: oklch(0.269 0 0); |
| 75 | + --sidebar-ring: oklch(0.439 0 0); |
76 | 76 | } |
77 | 77 |
|
78 | 78 | @theme inline { |
| 79 | + --font-sans: var(--font-geist-sans); |
| 80 | + --font-mono: var(--font-geist-mono); |
79 | 81 | --color-background: var(--background); |
80 | 82 | --color-foreground: var(--foreground); |
81 | 83 | --color-card: var(--card); |
|
104 | 106 | --radius-md: calc(var(--radius) - 2px); |
105 | 107 | --radius-lg: var(--radius); |
106 | 108 | --radius-xl: calc(var(--radius) + 4px); |
107 | | - --color-sidebar-ring: var(--sidebar-ring); |
108 | | - --color-sidebar-border: var(--sidebar-border); |
109 | | - --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); |
110 | | - --color-sidebar-accent: var(--sidebar-accent); |
111 | | - --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); |
112 | | - --color-sidebar-primary: var(--sidebar-primary); |
| 109 | + --color-sidebar: var(--sidebar); |
113 | 110 | --color-sidebar-foreground: var(--sidebar-foreground); |
114 | | - --color-sidebar: var(--sidebar-background); |
115 | | - --animate-accordion-down: accordion-down 0.2s ease-out; |
116 | | - --animate-accordion-up: accordion-up 0.2s ease-out; |
117 | | - |
118 | | - @keyframes accordion-down { |
119 | | - from { |
120 | | - height: 0; |
121 | | - } |
122 | | - to { |
123 | | - height: var(--radix-accordion-content-height); |
124 | | - } |
125 | | - } |
126 | | - |
127 | | - @keyframes accordion-up { |
128 | | - from { |
129 | | - height: var(--radix-accordion-content-height); |
130 | | - } |
131 | | - to { |
132 | | - height: 0; |
133 | | - } |
134 | | - } |
| 111 | + --color-sidebar-primary: var(--sidebar-primary); |
| 112 | + --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); |
| 113 | + --color-sidebar-accent: var(--sidebar-accent); |
| 114 | + --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); |
| 115 | + --color-sidebar-border: var(--sidebar-border); |
| 116 | + --color-sidebar-ring: var(--sidebar-ring); |
135 | 117 | } |
136 | 118 |
|
137 | 119 | @layer base { |
|
0 commit comments