2
2
@tailwind components;
3
3
@tailwind utilities;
4
4
5
- : root {
6
- --foreground-rgb : 0 , 0 , 0 ;
7
- --background-start-rgb : 214 , 219 , 220 ;
8
- --background-end-rgb : 255 , 255 , 255 ;
9
- }
10
-
11
- @media (prefers-color-scheme : dark) {
5
+ @layer base {
12
6
: root {
13
- --foreground-rgb : 255 , 255 , 255 ;
14
- --background-start-rgb : 0 , 0 , 0 ;
15
- --background-end-rgb : 0 , 0 , 0 ;
7
+ --background : 0 0% 100% ;
8
+ --foreground : 222.2 84% 4.9% ;
9
+ --card : 0 0% 100% ;
10
+ --card-foreground : 222.2 84% 4.9% ;
11
+ --popover : 0 0% 100% ;
12
+ --popover-foreground : 222.2 84% 4.9% ;
13
+ --primary : 222.2 47.4% 11.2% ;
14
+ --primary-foreground : 210 40% 98% ;
15
+ --secondary : 210 40% 96.1% ;
16
+ --secondary-foreground : 222.2 47.4% 11.2% ;
17
+ --muted : 210 40% 96.1% ;
18
+ --muted-foreground : 215.4 16.3% 46.9% ;
19
+ --accent : 210 40% 96.1% ;
20
+ --accent-foreground : 222.2 47.4% 11.2% ;
21
+ --destructive : 0 84.2% 60.2% ;
22
+ --destructive-foreground : 210 40% 98% ;
23
+ --border : 214.3 31.8% 91.4% ;
24
+ --input : 214.3 31.8% 91.4% ;
25
+ --ring : 222.2 84% 4.9% ;
26
+ --radius : 0.5rem ;
27
+ --chart-1 : 12 76% 61% ;
28
+ --chart-2 : 173 58% 39% ;
29
+ --chart-3 : 197 37% 24% ;
30
+ --chart-4 : 43 74% 66% ;
31
+ --chart-5 : 27 87% 67% ;
16
32
}
17
- }
18
33
19
- body {
20
- color : rgb (var (--foreground-rgb ));
21
- background : linear-gradient (
22
- to bottom,
23
- transparent,
24
- rgb (var (--background-end-rgb ))
25
- )
26
- rgb (var (--background-start-rgb ));
34
+ .dark {
35
+ --background : 222.2 84% 4.9% ;
36
+ --foreground : 210 40% 98% ;
37
+ --card : 222.2 84% 4.9% ;
38
+ --card-foreground : 210 40% 98% ;
39
+ --popover : 222.2 84% 4.9% ;
40
+ --popover-foreground : 210 40% 98% ;
41
+ --primary : 210 40% 98% ;
42
+ --primary-foreground : 222.2 47.4% 11.2% ;
43
+ --secondary : 217.2 32.6% 17.5% ;
44
+ --secondary-foreground : 210 40% 98% ;
45
+ --muted : 217.2 32.6% 17.5% ;
46
+ --muted-foreground : 215 20.2% 65.1% ;
47
+ --accent : 217.2 32.6% 17.5% ;
48
+ --accent-foreground : 210 40% 98% ;
49
+ --destructive : 0 62.8% 30.6% ;
50
+ --destructive-foreground : 210 40% 98% ;
51
+ --border : 217.2 32.6% 17.5% ;
52
+ --input : 217.2 32.6% 17.5% ;
53
+ --ring : 212.7 26.8% 83.9% ;
54
+ --chart-1 : 220 70% 50% ;
55
+ --chart-2 : 160 60% 45% ;
56
+ --chart-3 : 30 80% 55% ;
57
+ --chart-4 : 280 65% 60% ;
58
+ --chart-5 : 340 75% 55% ;
59
+ }
27
60
}
28
61
29
- @layer utilities {
30
- . text-balance {
31
- text-wrap : balance ;
62
+ @layer base {
63
+ * {
64
+ @apply border-border ;
32
65
}
33
- }
66
+ body {
67
+ @apply bg-background text-foreground;
68
+ }
69
+ }
0 commit comments