-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
77 lines (76 loc) · 2.41 KB
/
tailwind.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import { type Config } from "tailwindcss";
import { fontFamily } from "tailwindcss/defaultTheme";
import animate from "tailwindcss-animate";
export default {
darkMode: ["class"],
content: ["./src/**/*.tsx"],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-geist-sans)", ...fontFamily.sans],
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
colors: {
background: "rgb(var(--background))",
foreground: "rgb(var(--foreground))",
card: {
DEFAULT: "rgb(var(--card))",
foreground: "rgb(var(--card-foreground))",
},
popover: {
DEFAULT: "rgb(var(--popover))",
foreground: "rgb(var(--popover-foreground))",
},
primary: {
DEFAULT: "rgb(var(--primary))",
foreground: "rgb(var(--primary-foreground))",
},
secondary: {
DEFAULT: "rgb(var(--secondary))",
foreground: "rgb(var(--secondary-foreground))",
},
muted: {
DEFAULT: "rgb(var(--muted))",
foreground: "rgb(var(--muted-foreground))",
},
accent: {
DEFAULT: "rgb(var(--accent))",
foreground: "rgb(var(--accent-foreground))",
},
destructive: {
DEFAULT: "rgb(var(--destructive))",
foreground: "rgb(var(--destructive-foreground))",
},
success: {
DEFAULT: "rgb(var(--success))",
foreground: "rgb(var(--success-foreground))",
},
border: "rgb(var(--border))",
input: "rgb(var(--input))",
ring: "rgb(var(--ring))",
chart: {
"1": "rgb(var(--chart-1))",
"2": "rgb(var(--chart-2))",
"3": "rgb(var(--chart-3))",
"4": "rgb(var(--chart-4))",
"5": "rgb(var(--chart-5))",
},
sidebar: {
DEFAULT: "rgb(var(--sidebar-background))",
foreground: "rgb(var(--sidebar-foreground))",
primary: "rgb(var(--sidebar-primary))",
"primary-foreground": "rgb(var(--sidebar-primary-foreground))",
accent: "rgb(var(--sidebar-accent))",
"accent-foreground": "rgb(var(--sidebar-accent-foreground))",
border: "rgb(var(--sidebar-border))",
ring: "rgb(var(--sidebar-ring))",
},
},
},
},
plugins: [animate],
} satisfies Config;