You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This configuration file is from the manual guide. You can refer to the manual guide to modify the configuration file. ([`Configure tailwind.config.js`](https://ui.shadcn.com/docs/installation/manual))
This configuration also comes from the manual guide. You can refer to the manual guide to modify the configuration file. ([`Configure styles`](https://ui.shadcn.com/docs/installation/manual))
242
+
243
+
```css
244
+
@tailwind base;
245
+
@tailwind components;
246
+
@tailwind utilities;
247
+
248
+
@layer base {
249
+
:root {
250
+
--background: 00%100%;
251
+
--foreground: 222.247.4%11.2%;
252
+
253
+
--muted: 21040%96.1%;
254
+
--muted-foreground: 215.416.3%46.9%;
255
+
256
+
--popover: 00%100%;
257
+
--popover-foreground: 222.247.4%11.2%;
258
+
259
+
--border: 214.331.8%91.4%;
260
+
--input: 214.331.8%91.4%;
261
+
262
+
--card: 00%100%;
263
+
--card-foreground: 222.247.4%11.2%;
264
+
265
+
--primary: 222.247.4%11.2%;
266
+
--primary-foreground: 21040%98%;
267
+
268
+
--secondary: 21040%96.1%;
269
+
--secondary-foreground: 222.247.4%11.2%;
270
+
271
+
--accent: 21040%96.1%;
272
+
--accent-foreground: 222.247.4%11.2%;
273
+
274
+
--destructive: 0100%50%;
275
+
--destructive-foreground: 21040%98%;
276
+
277
+
--ring: 21520.2%65.1%;
278
+
279
+
--radius: 0.5rem;
280
+
}
281
+
282
+
.dark {
283
+
--background: 22471%4%;
284
+
--foreground: 21331%91%;
285
+
286
+
--muted: 22347%11%;
287
+
--muted-foreground: 215.416.3%56.9%;
288
+
289
+
--accent: 21634%17%;
290
+
--accent-foreground: 21040%98%;
291
+
292
+
--popover: 22471%4%;
293
+
--popover-foreground: 21520.2%65.1%;
294
+
295
+
--border: 21634%17%;
296
+
--input: 21634%17%;
297
+
298
+
--card: 22471%4%;
299
+
--card-foreground: 21331%91%;
300
+
301
+
--primary: 21040%98%;
302
+
--primary-foreground: 222.247.4%1.2%;
303
+
304
+
--secondary: 222.247.4%11.2%;
305
+
--secondary-foreground: 21040%98%;
306
+
307
+
--destructive: 063%31%;
308
+
--destructive-foreground: 21040%98%;
309
+
310
+
--ring: 21634%17%;
311
+
312
+
--radius: 0.5rem;
313
+
}
314
+
}
315
+
316
+
@layer base {
317
+
* {
318
+
@applyborder-border;
319
+
}
320
+
body {
321
+
@applybg-backgroundtext-foreground;
322
+
font-feature-settings: "rlig"1, "calt"1;
323
+
}
324
+
}
325
+
```
326
+
327
+
5. Add shadcn components
328
+
329
+
Finally, run this command from the root of your project to add the button component:
0 commit comments