-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
206 lines (205 loc) · 7.62 KB
/
tailwind.config.ts
File metadata and controls
206 lines (205 loc) · 7.62 KB
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
import type { Config } from "tailwindcss";
const config: Config = {
darkMode: ["class"],
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-inter)", "system-ui", "sans-serif"],
mono: ["var(--font-mono)", "monospace"],
},
animation: {
"fade-up": "fade-up 0.5s ease-out forwards",
"fade-in": "fade-in 0.4s ease-out forwards",
"scale-in": "scale-in 0.4s ease-out forwards",
"slide-in-right": "slide-in-right 0.3s cubic-bezier(0.32, 0.72, 0, 1) forwards",
"pulse-glow": "pulse-glow 3s ease-in-out infinite",
"float": "float 6s ease-in-out infinite",
"float-slow": "float-slow 8s ease-in-out infinite",
"shimmer": "shimmer 2s infinite",
pulse: "pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite",
blob: "blob 7s infinite",
"glow-pulse": "glow-pulse 2s ease-in-out infinite",
"gradient-shift": "gradient-shift 8s ease infinite",
"ring-pulse": "ring-pulse 2s ease-in-out infinite",
},
keyframes: {
"fade-up": {
"0%": {
opacity: "0",
transform: "translateY(12px)",
},
"100%": {
opacity: "1",
transform: "translateY(0)",
},
},
"fade-in": {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
"scale-in": {
"0%": {
opacity: "0",
transform: "scale(0.95)",
},
"100%": {
opacity: "1",
transform: "scale(1)",
},
},
"slide-in-right": {
"0%": { transform: "translateX(100%)" },
"100%": { transform: "translateX(0)" },
},
"pulse-glow": {
"0%, 100%": { opacity: "0.4", transform: "scale(1)" },
"50%": { opacity: "0.8", transform: "scale(1.02)" },
},
"float": {
"0%, 100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-20px)" },
},
"float-slow": {
"0%, 100%": { transform: "translateY(0) translateX(0)" },
"25%": { transform: "translateY(-10px) translateX(5px)" },
"50%": { transform: "translateY(-5px) translateX(-5px)" },
"75%": { transform: "translateY(-15px) translateX(3px)" },
},
"shimmer": {
"0%": { backgroundPosition: "-200% 0" },
"100%": { backgroundPosition: "200% 0" },
},
blob: {
"0%": { transform: "translate(0px, 0px) scale(1)" },
"33%": { transform: "translate(30px, -50px) scale(1.1)" },
"66%": { transform: "translate(-20px, 20px) scale(0.9)" },
"100%": { transform: "translate(0px, 0px) scale(1)" },
},
"glow-pulse": {
"0%, 100%": { opacity: "0.4" },
"50%": { opacity: "0.8" },
},
"gradient-shift": {
"0%, 100%": { backgroundPosition: "0% 50%" },
"50%": { backgroundPosition: "100% 50%" },
},
"ring-pulse": {
"0%, 100%": { boxShadow: "0 0 0 0px rgba(8, 145, 178, 0.3)" },
"50%": { boxShadow: "0 0 0 6px rgba(8, 145, 178, 0)" },
},
},
backgroundImage: {
"grid-light":
"url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(0 0 0 / 0.04)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e\")",
"dots-light":
"radial-gradient(circle, rgba(8, 145, 178, 0.08) 1px, transparent 1px)",
"gradient-radial-cyan":
"radial-gradient(ellipse 80% 50% at 50% -20%, rgba(8, 145, 178, 0.08), transparent)",
"gradient-radial-violet":
"radial-gradient(ellipse 60% 40% at 80% 100%, rgba(124, 58, 237, 0.06), transparent)",
},
colors: {
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
card: {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
},
popover: {
DEFAULT: "hsl(var(--popover))",
foreground: "hsl(var(--popover-foreground))",
},
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
foreground: "hsl(var(--secondary-foreground))",
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
},
accent: {
DEFAULT: "hsl(var(--accent))",
foreground: "hsl(var(--accent-foreground))",
},
destructive: {
DEFAULT: "hsl(var(--destructive))",
foreground: "hsl(var(--destructive-foreground))",
},
border: "hsl(var(--border))",
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
chart: {
"1": "hsl(var(--chart-1))",
"2": "hsl(var(--chart-2))",
"3": "hsl(var(--chart-3))",
"4": "hsl(var(--chart-4))",
"5": "hsl(var(--chart-5))",
},
// Semantic theme colors wired to CSS variables (switch light/dark)
"bg-deepest": "rgb(var(--bg-deepest) / <alpha-value>)",
"bg-surface": "rgb(var(--bg-surface) / <alpha-value>)",
"bg-elevated": "rgb(var(--bg-elevated) / <alpha-value>)",
// Overlay token - black in light, white in dark
"overlay": "rgb(var(--overlay) / <alpha-value>)",
// Inverse surface for Badge dark variant
"surface-inverse": "rgb(var(--surface-inverse) / <alpha-value>)",
// Electric Cyan accent system (static - same in both themes)
"accent-cyan": "#0891b2",
"accent-cyan-bright": "#06b6d4",
"accent-cyan-dim": "#0e7490",
"accent-violet": "#7c3aed",
"accent-violet-bright": "#8b5cf6",
// Text colors wired to CSS variables (switch light/dark)
"text-primary": "rgb(var(--text-primary) / <alpha-value>)",
"text-secondary": "rgb(var(--text-secondary) / <alpha-value>)",
"text-muted": "rgb(var(--text-muted) / <alpha-value>)",
// Status indicators (static)
status: {
success: "#10b981",
warning: "#f59e0b",
error: "#ef4444",
info: "#0891b2",
},
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
xl: "0.875rem",
"2xl": "1rem",
},
boxShadow: {
"soft": "0 2px 8px rgba(0, 0, 0, 0.04)",
"soft-md": "0 4px 16px rgba(0, 0, 0, 0.06)",
"soft-lg": "0 8px 32px rgba(0, 0, 0, 0.08)",
"soft-xl": "0 12px 48px rgba(0, 0, 0, 0.1)",
"card": "0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.04)",
"card-hover": "0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04)",
"glow-cyan": "0 0 20px rgba(8, 145, 178, 0.15)",
"glow-cyan-lg": "0 0 40px rgba(8, 145, 178, 0.2)",
"glow-violet": "0 0 20px rgba(124, 58, 237, 0.15)",
"glow-violet-lg": "0 0 40px rgba(124, 58, 237, 0.2)",
"glow-success": "0 0 20px rgba(16, 185, 129, 0.15)",
"glow-warning": "0 0 20px rgba(245, 158, 11, 0.15)",
"glow-error": "0 0 20px rgba(239, 68, 68, 0.15)",
},
transitionTimingFunction: {
"spring": "cubic-bezier(0.32, 0.72, 0, 1)",
},
backgroundSize: {
"dots": "24px 24px",
},
},
},
plugins: [require("tailwindcss-animate")],
};
export default config;