-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
120 lines (118 loc) · 3.57 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
import type { Config } from "tailwindcss";
import typography from "@tailwindcss/typography";
import animate from "tailwindcss-animate";
export default {
darkMode: "class",
content: ["./src/*.{js,ts,jsx,tsx}", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
screens: {
"2xs": "320px",
xs: "400px",
sm: "640px",
md: "768px",
lg: "1024px",
xl: "1280px",
"2xl": "1536px",
},
fontFamily: {
sans: ["var(--font-geist-sans)"],
mono: ["var(--font-geist-mono)"],
},
extend: {
colors: {
border: "hsl(var(--border))",
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
primary: {
DEFAULT: "hsl(var(--primary))",
dimmed: "hsl(var(--primary-dimmed))",
rich: "hsl(var(--primary-rich))",
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
dimmed: "hsl(var(--secondary-dimmed))",
rich: "hsl(var(--secondary-rich))",
},
background: {
DEFAULT: "hsl(var(--background))",
dimmed: "hsl(var(--background-dimmed))",
rich: "hsl(var(--background-rich))",
},
accent: {
DEFAULT: "hsl(var(--accent))",
dimmed: "hsl(var(--accent-dimmed))",
rich: "hsl(var(--accent-rich))",
foreground: "hsl(var(--accent-foreground))",
},
foreground: {
DEFAULT: "hsl(var(--foreground))",
dimmed: "hsl(var(--foreground-dimmed))",
rich: "hsl(var(--foreground-rich))",
},
emphasis: {
DEFAULT: "hsl(var(--emphasis))",
dimmed: "hsl(var(--emphasis-dimmed))",
rich: "hsl(var(--emphasis-rich))",
},
success: {
DEFAULT: "hsl(var(--success))",
dimmed: "hsl(var(--success-dimmed))",
rich: "hsl(var(--success-rich))",
foreground: "hsl(var(--success-foreground))",
},
info: {
DEFAULT: "hsl(var(--info))",
dimmed: "hsl(var(--info-dimmed))",
rich: "hsl(var(--info-rich))",
foreground: "hsl(var(--info-foreground))",
},
neutral: {
DEFAULT: "hsl(var(--neutral))",
dimmed: "hsl(var(--neutral-dimmed))",
rich: "hsl(var(--neutral-rich))",
foreground: "hsl(var(--neutral-foreground))",
},
error: {
DEFAULT: "hsl(var(--error))",
dimmed: "hsl(var(--error-dimmed))",
rich: "hsl(var(--error-rich))",
foreground: "hsl(var(--error-foreground))",
},
warning: {
DEFAULT: "hsl(var(--warning))",
dimmed: "hsl(var(--warning-dimmed))",
rich: "hsl(var(--warning-rich))",
foreground: "hsl(var(--warning-foreground))",
},
},
backdropBlur: {
"2xs": "1px",
xs: "2px",
sm: "4px",
},
fontSize: {
"2xs": "0.6rem",
},
keyframes: {
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
"caret-blink": {
"0%, 70%, 100%": { opacity: "1" },
"20%, 50%": { opacity: "0" },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"caret-blink": "caret-blink 1.2s ease-in infinite",
},
},
},
plugins: [animate, typography],
} satisfies Config;