-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
190 lines (189 loc) · 6.63 KB
/
tailwind.config.ts
File metadata and controls
190 lines (189 loc) · 6.63 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
import type { Config } from "tailwindcss";
export default {
darkMode: ["class"],
content: [
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}",
"./src/**/*.{js,jsx,ts,tsx}",
],
prefix: "",
theme: {
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px'
}
},
extend: {
colors: {
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))'
},
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)'
},
boxShadow: {
'neon': '0 0 10px rgba(155, 135, 245, 0.6), 0 0 20px rgba(155, 135, 245, 0.3)',
'neon-lg': '0 0 15px rgba(155, 135, 245, 0.8), 0 0 30px rgba(155, 135, 245, 0.5)',
'neon-blue': '0 0 10px rgba(99, 102, 241, 0.6), 0 0 20px rgba(99, 102, 241, 0.3)',
'neon-pink': '0 0 10px rgba(244, 114, 182, 0.6), 0 0 20px rgba(244, 114, 182, 0.3)',
'neon-hover': '0 0 30px rgba(124, 58, 237, 0.8)',
},
backgroundImage: {
'grid-pattern': 'radial-gradient(circle, rgba(99, 102, 241, 0.15) 1px, transparent 1px)',
'grid-light': 'linear-gradient(to right, rgba(99, 102, 241, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(99, 102, 241, 0.05) 1px, transparent 1px)',
'grid-dark': 'linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px)',
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
},
backgroundSize: {
'grid': '40px 40px',
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"fadeIn": "fadeIn 0.3s ease-out",
"nodeExpand": "nodeExpand 0.3s ease-out",
"pulse": "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
"pulse-slow": "pulse 5s cubic-bezier(0.4, 0, 0.6, 1) infinite",
"slide-down": "slide-down 0.4s ease-out",
"slide-up": "slide-up 0.4s ease-out",
"zoom-in": "zoom-in 0.3s ease-out",
"float": "float 6s ease-in-out infinite",
"glow": "glow 2s ease-in-out infinite alternate",
"grid-flow": "grid-flow 20s linear infinite",
'gradient-shift': 'gradient-shift 4s ease infinite',
'appear': 'appear 0.5s ease-out forwards',
'pulse-glow': 'pulse-glow 2s ease-in-out infinite',
'circle-draw': 'circle-draw 3s ease-in-out infinite',
'ping-slow': 'ping 2s cubic-bezier(0, 0, 0.2, 1) infinite',
},
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" },
},
"fadeIn": {
"0%": { opacity: "0" },
"100%": { opacity: "1" }
},
"nodeExpand": {
"0%": { transform: "scaleY(0)", opacity: "0" },
"100%": { transform: "scaleY(1)", opacity: "1" }
},
"pulse": {
"0%": { transform: "scale(1)" },
"50%": { transform: "scale(1.05)" },
"100%": { transform: "scale(1)" }
},
"slide-down": {
"0%": { transform: "translateY(-20px)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" }
},
"slide-up": {
"0%": { transform: "translateY(20px)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" }
},
"zoom-in": {
"0%": { transform: "scale(0.95)", opacity: "0" },
"100%": { transform: "scale(1)", opacity: "1" }
},
"float": {
"0%": { transform: "translateY(0px)" },
"50%": { transform: "translateY(-10px)" },
"100%": { transform: "translateY(0px)" }
},
"glow": {
"0%": { boxShadow: "0 0 5px rgba(155, 135, 245, 0.4), 0 0 10px rgba(155, 135, 245, 0.2)" },
"100%": { boxShadow: "0 0 15px rgba(155, 135, 245, 0.7), 0 0 30px rgba(155, 135, 245, 0.4)" }
},
"grid-flow": {
"0%": { transform: "translateY(0)" },
"100%": { transform: "translateY(40px)" }
},
"float-animation": {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-20px)' },
},
appear: {
from: {
opacity: '0',
transform: 'scale(0.9) translateY(10px)'
},
to: {
opacity: '1',
transform: 'scale(1) translateY(0)'
},
},
'pulse-glow': {
'0%': {
transform: 'scale(1)',
boxShadow: '0 0 10px rgba(155, 135, 245, 0.5), 0 0 20px rgba(155, 135, 245, 0.3)'
},
'50%': {
transform: 'scale(1.03)',
boxShadow: '0 0 15px rgba(155, 135, 245, 0.8), 0 0 30px rgba(155, 135, 245, 0.5)'
},
'100%': {
transform: 'scale(1)',
boxShadow: '0 0 10px rgba(155, 135, 245, 0.5), 0 0 20px rgba(155, 135, 245, 0.3)'
}
},
'circle-draw': {
'0%': {
strokeDashoffset: '283'
},
'50%': {
strokeDashoffset: '0'
},
'100%': {
strokeDashoffset: '283'
}
},
},
transitionTimingFunction: {
'bounce-in-out': 'cubic-bezier(0.68, -0.55, 0.27, 1.55)',
}
}
},
plugins: [require("tailwindcss-animate")],
} satisfies Config;