1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
- @layer base {
6
- : root {
7
- --background : 0 0% 100% ;
8
- --foreground : 240 10% 3.9% ;
9
- --card : 0 0% 100% ;
10
- --card-foreground : 240 10% 3.9% ;
11
- --popover : 0 0% 100% ;
12
- --popover-foreground : 240 10% 3.9% ;
13
- --primary : 240 5.9% 10% ;
14
- --primary-foreground : 0 0% 98% ;
15
- --secondary : 240 4.8% 95.9% ;
16
- --secondary-foreground : 240 5.9% 10% ;
17
- --muted : 240 4.8% 95.9% ;
18
- --muted-foreground : 240 3.8% 46.1% ;
19
- --accent : 240 4.8% 95.9% ;
20
- --accent-foreground : 240 5.9% 10% ;
21
- --destructive : 0 84.2% 60.2% ;
22
- --destructive-foreground : 0 0% 98% ;
23
- --border : 240 5.9% 90% ;
24
- --input : 240 5.9% 90% ;
25
- --ring : 240 5.9% 10% ;
26
- --radius : 0.5rem ;
27
- }
28
-
29
- .dark {
30
- --background : 240 10% 3.9% ;
31
- --foreground : 0 0% 98% ;
32
- --card : 240 10% 3.9% ;
33
- --card-foreground : 0 0% 98% ;
34
- --popover : 240 10% 3.9% ;
35
- --popover-foreground : 0 0% 98% ;
36
- --primary : 0 0% 98% ;
37
- --primary-foreground : 240 5.9% 10% ;
38
- --secondary : 240 3.7% 15.9% ;
39
- --secondary-foreground : 0 0% 98% ;
40
- --muted : 240 3.7% 15.9% ;
41
- --muted-foreground : 240 5% 64.9% ;
42
- --accent : 240 3.7% 15.9% ;
43
- --accent-foreground : 0 0% 98% ;
44
- --destructive : 0 62.8% 30.6% ;
45
- --destructive-foreground : 0 0% 98% ;
46
- --border : 240 3.7% 15.9% ;
47
- --input : 240 3.7% 15.9% ;
48
- --ring : 240 4.9% 83.9% ;
49
- }
1
+ @import "tailwindcss" ;
2
+ @import "tw-animate-css" ;
3
+ @plugin "@tailwindcss/typography" ;
4
+
5
+ @custom-variant dark (& : is (.dark * ));
6
+
7
+ : root {
8
+ --background : oklch (1 0 0 );
9
+ --foreground : oklch (0.145 0 0 );
10
+ --card : oklch (1 0 0 );
11
+ --card-foreground : oklch (0.145 0 0 );
12
+ --popover : oklch (1 0 0 );
13
+ --popover-foreground : oklch (0.145 0 0 );
14
+ --primary : oklch (0.205 0 0 );
15
+ --primary-foreground : oklch (0.985 0 0 );
16
+ --secondary : oklch (0.97 0 0 );
17
+ --secondary-foreground : oklch (0.205 0 0 );
18
+ --muted : oklch (0.97 0 0 );
19
+ --muted-foreground : oklch (0.556 0 0 );
20
+ --accent : oklch (0.97 0 0 );
21
+ --accent-foreground : oklch (0.205 0 0 );
22
+ --destructive : oklch (0.577 0.245 27.325 );
23
+ --destructive-foreground : oklch (0.577 0.245 27.325 );
24
+ --border : oklch (0.922 0 0 );
25
+ --input : oklch (0.922 0 0 );
26
+ --ring : oklch (0.708 0 0 );
27
+ --chart-1 : oklch (0.646 0.222 41.116 );
28
+ --chart-2 : oklch (0.6 0.118 184.704 );
29
+ --chart-3 : oklch (0.398 0.07 227.392 );
30
+ --chart-4 : oklch (0.828 0.189 84.429 );
31
+ --chart-5 : oklch (0.769 0.188 70.08 );
32
+ --radius : 0.625rem ;
33
+ --sidebar : oklch (0.985 0 0 );
34
+ --sidebar-foreground : oklch (0.145 0 0 );
35
+ --sidebar-primary : oklch (0.205 0 0 );
36
+ --sidebar-primary-foreground : oklch (0.985 0 0 );
37
+ --sidebar-accent : oklch (0.97 0 0 );
38
+ --sidebar-accent-foreground : oklch (0.205 0 0 );
39
+ --sidebar-border : oklch (0.922 0 0 );
40
+ --sidebar-ring : oklch (0.708 0 0 );
41
+ }
42
+
43
+ .dark {
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
+ }
77
+
78
+ @theme inline {
79
+ --color-background : var (--background );
80
+ --color-foreground : var (--foreground );
81
+ --color-card : var (--card );
82
+ --color-card-foreground : var (--card-foreground );
83
+ --color-popover : var (--popover );
84
+ --color-popover-foreground : var (--popover-foreground );
85
+ --color-primary : var (--primary );
86
+ --color-primary-foreground : var (--primary-foreground );
87
+ --color-secondary : var (--secondary );
88
+ --color-secondary-foreground : var (--secondary-foreground );
89
+ --color-muted : var (--muted );
90
+ --color-muted-foreground : var (--muted-foreground );
91
+ --color-accent : var (--accent );
92
+ --color-accent-foreground : var (--accent-foreground );
93
+ --color-destructive : var (--destructive );
94
+ --color-destructive-foreground : var (--destructive-foreground );
95
+ --color-border : var (--border );
96
+ --color-input : var (--input );
97
+ --color-ring : var (--ring );
98
+ --color-chart-1 : var (--chart-1 );
99
+ --color-chart-2 : var (--chart-2 );
100
+ --color-chart-3 : var (--chart-3 );
101
+ --color-chart-4 : var (--chart-4 );
102
+ --color-chart-5 : var (--chart-5 );
103
+ --radius-sm : calc (var (--radius ) - 4px );
104
+ --radius-md : calc (var (--radius ) - 2px );
105
+ --radius-lg : var (--radius );
106
+ --radius-xl : calc (var (--radius ) + 4px );
107
+ --color-sidebar : var (--sidebar );
108
+ --color-sidebar-foreground : var (--sidebar-foreground );
109
+ --color-sidebar-primary : var (--sidebar-primary );
110
+ --color-sidebar-primary-foreground : var (--sidebar-primary-foreground );
111
+ --color-sidebar-accent : var (--sidebar-accent );
112
+ --color-sidebar-accent-foreground : var (--sidebar-accent-foreground );
113
+ --color-sidebar-border : var (--sidebar-border );
114
+ --color-sidebar-ring : var (--sidebar-ring );
50
115
}
51
116
52
117
@layer base {
53
118
* {
54
- @apply border-border;
119
+ @apply border-border outline-ring/50 ;
55
120
}
56
-
57
121
body {
58
122
@apply bg-background text-foreground;
123
+ font-family : var (--font-inter ), Arial, Helvetica, sans-serif;
59
124
}
60
125
}
61
126
62
127
.typography {
63
- @apply prose prose-zinc prose-headings:scroll-m-20 prose-code:rounded-md prose-code:p-1 prose-code:font-code prose-code: leading-6 prose-code:before:content-none prose-code:after:content-none prose-pre:border prose-pre:bg-neutral-100 prose-img:rounded-md prose-img:border;
64
- @apply w-[85vw ] !min-w-full pt-2 text-sm prose-code:text-xs sm:mx-auto sm:w-full;
128
+ @apply prose prose-zinc prose-headings:scroll-m-20 prose-code:rounded-md prose-code:p-1 prose-code:leading-6 prose-code:before:content-none prose-code:after:content-none prose-pre:border prose-pre:bg-neutral-100 prose-img:rounded-md prose-img:border;
129
+ @apply prose-code:text-xs w-[85vw ] !min-w-full pt-2 text-sm sm:mx-auto sm:w-full;
65
130
@apply dark:prose-invert prose-code:text-neutral-800 dark:prose-code:bg-neutral-900 dark:prose-code:text-white dark:prose-pre:bg-neutral-900;
66
131
}
67
132
92
157
}
93
158
94
159
.prose table {
95
- @apply border-collapse border border-border;
160
+ @apply border-border border-collapse border;
96
161
}
97
162
98
163
.prose th {
101
166
102
167
.prose th ,
103
168
.prose td {
104
- @apply border border- border;
169
+ @apply border-border border;
105
170
padding : 8px 10px ;
106
171
}
107
172
@@ -114,6 +179,7 @@ pre {
114
179
width : inherit !important ;
115
180
overflow-x : auto;
116
181
}
182
+
117
183
pre > code {
118
184
display : grid;
119
185
max-width : inherit !important ;
0 commit comments