1- @tailwind base;
2- @tailwind components;
3- @tailwind utilities;
4-
1+ @import 'tailwindcss' ;
2+
3+ @plugin 'tailwindcss-animate' ;
4+
5+ @custom-variant dark (& : is (.dark * ));
6+
7+ @theme {
8+ --color-border : hsl (var (--border ));
9+ --color-input : hsl (var (--input ));
10+ --color-ring : hsl (var (--ring ));
11+ --color-background : hsl (var (--background ));
12+ --color-foreground : hsl (var (--foreground ));
13+
14+ --color-primary : hsl (var (--primary ));
15+ --color-primary-foreground : hsl (var (--primary-foreground ));
16+
17+ --color-secondary : hsl (var (--secondary ));
18+ --color-secondary-foreground : hsl (var (--secondary-foreground ));
19+
20+ --color-destructive : hsl (var (--destructive ));
21+ --color-destructive-foreground : hsl (var (--destructive-foreground ));
22+
23+ --color-muted : hsl (var (--muted ));
24+ --color-muted-foreground : hsl (var (--muted-foreground ));
25+
26+ --color-accent : hsl (var (--accent ));
27+ --color-accent-foreground : hsl (var (--accent-foreground ));
28+
29+ --color-popover : hsl (var (--popover ));
30+ --color-popover-foreground : hsl (var (--popover-foreground ));
31+
32+ --color-card : hsl (var (--card ));
33+ --color-card-foreground : hsl (var (--card-foreground ));
34+
35+ --color-link : hsl (var (--link ));
36+
37+ --color-chart-1 : hsl (var (--chart-1 ));
38+ --color-chart-2 : hsl (var (--chart-2 ));
39+ --color-chart-3 : hsl (var (--chart-3 ));
40+ --color-chart-4 : hsl (var (--chart-4 ));
41+ --color-chart-5 : hsl (var (--chart-5 ));
42+
43+ --radius-lg : var (--radius );
44+ --radius-md : calc (var (--radius ) - 2px );
45+ --radius-sm : calc (var (--radius ) - 4px );
46+
47+ --animate-accordion-down : accordion-down 0.2s ease-out;
48+ --animate-accordion-up : accordion-up 0.2s ease-out;
49+
50+ @keyframes accordion-down {
51+ from {
52+ height : 0 ;
53+ }
54+ to {
55+ height : var (--radix-accordion-content-height );
56+ }
57+ }
58+ @keyframes accordion-up {
59+ from {
60+ height : var (--radix-accordion-content-height );
61+ }
62+ to {
63+ height : 0 ;
64+ }
65+ }
66+ }
67+
68+ @utility container {
69+ margin-inline : auto;
70+ padding-inline : 2rem ;
71+ @media (width > = - - theme(- - breakpoint- sm)) {
72+ max-width : none;
73+ }
74+ @media (width > = 1400px) {
75+ max-width : 1400px ;
76+ }
77+ }
78+
79+ /*
80+ The default border color has changed to `currentColor` in Tailwind CSS v4,
81+ so we've added these compatibility styles to make sure everything still
82+ looks the same as it did with Tailwind CSS v3.
83+
84+ If we ever want to remove these styles, we need to add an explicit border
85+ color utility to any element that depends on these defaults.
86+ */
87+ @layer base {
88+ * ,
89+ ::after ,
90+ ::before ,
91+ ::backdrop ,
92+ ::file-selector-button {
93+ border-color : var (--color-gray-200 , currentColor);
94+ }
95+ }
96+
97+ @utility no-scrollbar {
98+ /* Hide scrollbar for Chrome, Safari and Opera */
99+ & ::-webkit-scrollbar {
100+ display : none;
101+ }
102+ /* Hide scrollbar for IE, Edge and Firefox */
103+ -ms-overflow-style : none; /* IE and Edge */
104+ scrollbar-width : none; /* Firefox */
105+ }
106+
5107@layer base {
6108 : root {
7109 --background : 0 0% 100% ;
92194 }
93195}
94196
95- .CollapsibleContent {
96- overflow : hidden;
97- }
98- .CollapsibleContent [data-state = 'open' ] {
99- animation : slideDown 300ms ease-out;
100- }
101- .CollapsibleContent [data-state = 'closed' ] {
102- animation : slideUp 300ms ease-out;
103- }
104-
105- @keyframes slideDown {
106- from {
107- height : 0 ;
197+ @layer utilities {
198+ .CollapsibleContent {
199+ overflow : hidden;
108200 }
109- to {
110- height : var ( --radix-collapsible-content-height ) ;
201+ . CollapsibleContent [ data-state = 'open' ] {
202+ animation : slideDown 300 ms ease-out ;
111203 }
112- }
113-
114- @keyframes slideUp {
115- from {
116- height : var (--radix-collapsible-content-height );
204+ .CollapsibleContent [data-state = 'closed' ] {
205+ animation : slideUp 300ms ease-out;
117206 }
118- to {
119- height : 0 ;
207+
208+ @keyframes slideDown {
209+ from {
210+ height : 0 ;
211+ }
212+ to {
213+ height : var (--radix-collapsible-content-height );
214+ }
120215 }
121- }
122216
123- .dark {
124- background-color : # 8f8f8f ;
125- color : black
126- }
217+ @keyframes slideUp {
218+ from {
219+ height : var (--radix-collapsible-content-height );
220+ }
221+ to {
222+ height : 0 ;
223+ }
224+ }
127225
128- .dark label : focus {
129- color : white
130- }
226+ .dark {
227+ background-color : # 8f8f8f ;
228+ color : black;
229+ }
131230
132- @layer utilities {
133- /* Hide scrollbar for Chrome, Safari and Opera */
134- .no-scrollbar ::-webkit-scrollbar {
135- display : none;
136- }
137- /* Hide scrollbar for IE, Edge and Firefox */
138- .no-scrollbar {
139- -ms-overflow-style : none; /* IE and Edge */
140- scrollbar-width : none; /* Firefox */
141- }
231+ .dark label : focus {
232+ color : white;
233+ }
142234}
0 commit comments