forked from Manav39/CP-CLUB-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
268 lines (244 loc) · 7.75 KB
/
Copy pathtailwind.config.js
File metadata and controls
268 lines (244 loc) · 7.75 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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ["class"],
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
// shadcn/ui compatible colors using CSS variables
border: "hsl(var(--border))",
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
foreground: "hsl(var(--secondary-foreground))",
},
destructive: {
DEFAULT: "hsl(var(--destructive))",
foreground: "hsl(var(--destructive-foreground))",
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
},
accent: {
DEFAULT: "hsl(var(--accent))",
foreground: "hsl(var(--accent-foreground))",
},
popover: {
DEFAULT: "hsl(var(--popover))",
foreground: "hsl(var(--popover-foreground))",
},
card: {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
},
// Cyberpunk Custom Colors
matrix: {
50: "rgb(134 239 172)",
100: "rgb(74 222 128)",
200: "rgb(34 197 94)",
300: "rgb(22 163 74)",
400: "rgb(16 185 129)",
500: "rgb(5 150 105)",
},
cyber: {
cyan: "rgb(6 182 212)",
purple: "rgb(168 85 247)",
pink: "rgb(236 72 153)",
},
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
fontFamily: {
sans: ["var(--font-geist-sans)", "Inter", "system-ui", "sans-serif"],
mono: ["var(--font-geist-mono)", "JetBrains Mono", "Courier New", "monospace"],
},
keyframes: {
// shadcn/ui animations
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
// Cyberpunk animations
glow: {
"0%, 100%": {
boxShadow: "0 0 5px rgb(34 197 94), 0 0 10px rgb(34 197 94)"
},
"50%": {
boxShadow: "0 0 20px rgb(34 197 94), 0 0 30px rgb(34 197 94), 0 0 40px rgb(34 197 94)"
},
},
"glow-pulse": {
"0%, 100%": {
opacity: "1",
boxShadow: "0 0 20px rgba(34, 197, 94, 0.4), 0 0 30px rgba(34, 197, 94, 0.2)",
},
"50%": {
opacity: "0.8",
boxShadow: "0 0 30px rgba(34, 197, 94, 0.6), 0 0 50px rgba(34, 197, 94, 0.4)",
},
},
float: {
"0%, 100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-10px)" },
},
"float-slow": {
"0%, 100%": { transform: "translateY(0px)" },
"50%": { transform: "translateY(-20px)" },
},
pulse: {
"0%, 100%": { opacity: "1" },
"50%": { opacity: "0.7" },
},
"pulse-slow": {
"0%, 100%": { opacity: "1" },
"50%": { opacity: "0.5" },
},
flicker: {
"0%, 100%": { opacity: "1" },
"41%": { opacity: "1" },
"42%": { opacity: "0.6" },
"43%": { opacity: "1" },
"45%": { opacity: "0.8" },
"46%": { opacity: "1" },
},
"text-flicker": {
"0%, 19%, 21%, 23%, 25%, 54%, 56%, 100%": {
textShadow: "0 0 10px rgba(34, 197, 94, 0.5), 0 0 20px rgba(34, 197, 94, 0.3)",
opacity: "1",
},
"20%, 24%, 55%": {
textShadow: "none",
opacity: "0.7",
},
},
glitch: {
"0%": {
transform: "translate(0)",
},
"20%": {
transform: "translate(-2px, 2px)",
},
"40%": {
transform: "translate(-2px, -2px)",
},
"60%": {
transform: "translate(2px, 2px)",
},
"80%": {
transform: "translate(2px, -2px)",
},
"100%": {
transform: "translate(0)",
},
},
"slide-up": {
"0%": {
transform: "translateY(20px)",
opacity: "0",
},
"100%": {
transform: "translateY(0)",
opacity: "1",
},
},
"slide-down": {
"0%": {
transform: "translateY(-20px)",
opacity: "0",
},
"100%": {
transform: "translateY(0)",
opacity: "1",
},
},
"fade-in": {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
"fade-out": {
"0%": { opacity: "1" },
"100%": { opacity: "0" },
},
"border-beam": {
"0%": {
"background-position": "0% 50%",
},
"50%": {
"background-position": "100% 50%",
},
"100%": {
"background-position": "0% 50%",
},
},
"gradient-x": {
"0%, 100%": {
"background-size": "200% 200%",
"background-position": "left center",
},
"50%": {
"background-size": "200% 200%",
"background-position": "right center",
},
},
},
animation: {
// shadcn/ui
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
// Cyberpunk animations
glow: "glow 2s ease-in-out infinite",
"glow-pulse": "glow-pulse 2s ease-in-out infinite",
float: "float 3s ease-in-out infinite",
"float-slow": "float-slow 6s ease-in-out infinite",
pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
"pulse-slow": "pulse-slow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite",
flicker: "flicker 3s linear infinite",
"text-flicker": "text-flicker 3s linear infinite",
glitch: "glitch 1s linear infinite",
"slide-up": "slide-up 0.5s ease-out",
"slide-down": "slide-down 0.5s ease-out",
"fade-out": "fade-out 0.5s ease-out",
"border-beam": "border-beam 3s linear infinite",
// Gradient Text Animation
'gradient-x': 'gradient-x 3s ease infinite',
// Fade In Animation
'fade-in': 'fade-in 0.5s ease-out forwards',
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic": "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
"cyber-grid": "linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px)",
},
backdropBlur: {
xs: "2px",
},
boxShadow: {
"glow-sm": "0 0 10px rgba(34, 197, 94, 0.3)",
"glow-md": "0 0 20px rgba(34, 197, 94, 0.4), 0 0 30px rgba(34, 197, 94, 0.2)",
"glow-lg": "0 0 30px rgba(34, 197, 94, 0.5), 0 0 50px rgba(34, 197, 94, 0.3)",
"glow-cyan": "0 0 20px rgba(6, 182, 212, 0.4), 0 0 30px rgba(6, 182, 212, 0.2)",
"glow-purple": "0 0 20px rgba(168, 85, 247, 0.4), 0 0 30px rgba(168, 85, 247, 0.2)",
},
},
},
plugins: [require("tailwindcss-animate")],
};