forked from neukkim-good/neukkim-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
166 lines (165 loc) · 5.06 KB
/
tailwind.config.js
File metadata and controls
166 lines (165 loc) · 5.06 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
// tailwind.config.js
import("tailwindcss").Config;
module.exports = {
content: [
"./src/app/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
animation: {
"bounce-slow": "bounce 2s infinite",
wiggle: "wiggle 3s ease-in-out infinite",
float: "float 6s ease-in-out infinite",
sway: "sway 2.5s ease-in-out infinite",
"fade-in-up": "fadeInUp 1s ease-out",
"fade-in-up-delay": "fadeInUp 1s ease-out 0.5s both",
"text-shimmer": "textShimmer 3s ease-out infinite",
typing: "typing 2s steps(22, end), blink-caret 0.75s step-end infinite",
"spin-slow": "spin 4s linear infinite",
progress: "progress 2s ease-out forwards",
"pulse-glow": "pulseGlow 2.5s infinite ease-out",
"fly-1": "flyAround1 linear infinite",
"fly-2": "flyAround2 linear infinite",
"fly-3": "flyAround3 ease-in-out infinite",
"fly-4": "flyAround4 ease-in infinite",
},
keyframes: {
wiggle: {
"from, to": { transform: "rotate(-3deg)" },
"50%": { transform: "rotate(3deg)" },
},
float: {
"from, to": { transform: "translateY(0px)" },
"50%": { transform: "translateY(-20px)" },
},
sway: {
"from, to": { transform: "rotate(10deg)" },
"50%": { transform: "rotate(0deg)" },
},
fadeInUp: {
from: { opacity: "0", transform: "translateY(30px)" },
to: { opacity: "1", transform: "translateY(0)" },
},
textShimmer: {
from: { "background-position": "200% center" },
to: { "background-position": "-200% center" },
},
typing: {
from: { width: "0" },
to: { width: "100%" },
},
"blink-caret": {
"from, to": { "border-color": "transparent" },
"50%": { "border-color": "#f97316" },
},
progress: {
from: { width: "0%" },
to: { width: "100%" },
},
pulseGlow: {
"from, to": {
transform: "scale(1)",
"box-shadow": "0 0 0 0 rgba(0, 255, 0, 0.7)",
},
"50%": {
transform: "scale(1.05)",
"box-shadow": "0 0 40px 20px rgba(0, 255, 0, 0)",
},
},
flyAround1: {
from: { transform: "translate(0, 10vh) rotate(0deg)", opacity: "1" },
to: {
transform: "translate(40vw, -110vh) rotate(360deg)",
opacity: "0",
},
},
flyAround2: {
from: { transform: "translate(0, 10vh) rotate(0deg)", opacity: "1" },
to: {
transform: "translate(-50vw, -110vh) rotate(-360deg)",
opacity: "0",
},
},
flyAround3: {
from: { transform: "translate(0, 10vh) rotate(0deg)", opacity: "1" },
"50%": {
transform: "translate(20vw, -60vh) rotate(180deg)",
opacity: "0.8",
},
to: {
transform: "translate(-30vw, -110vh) rotate(360deg)",
opacity: "0",
},
},
flyAround4: {
from: { transform: "translate(0, 10vh) rotate(0deg)", opacity: "1" },
"33%": {
transform: "translate(-10vw, -40vh) rotate(120deg)",
opacity: "1",
},
"66%": {
transform: "translate(10vw, -80vh) rotate(240deg)",
opacity: "0.5",
},
to: {
transform: "translate(0vw, -110vh) rotate(360deg)",
opacity: "0",
},
},
flyPath1: {
"0%": { transform: "translate(0, 0) rotate(0deg)", opacity: 1 },
"25%": {
transform: "translate(20vw, -30vh) rotate(90deg)",
opacity: 0.8,
},
"50%": {
transform: "translate(-10vw, -60vh) rotate(180deg)",
opacity: 1,
},
"75%": {
transform: "translate(15vw, -90vh) rotate(270deg)",
opacity: 0.5,
},
"100%": {
transform: "translate(5vw, -120vh) rotate(360deg)",
opacity: 0,
},
},
flyPath2: {
"0%": {
transform: "translate(0, 0) scale(0.8) rotate(-20deg)",
opacity: 1,
},
"50%": {
transform: "translate(-25vw, -50vh) scale(1.2) rotate(20deg)",
opacity: 0.7,
},
"100%": {
transform: "translate(5vw, -110vh) scale(0.5) rotate(-5deg)",
opacity: 0,
},
},
pulseAndFade: {
"0%, 100%": { transform: "scale(1)", opacity: "0.8" },
"50%": { transform: "scale(1.3)", opacity: "0.4" },
},
},
},
},
plugins: [],
safelist: [
"animate-fly-1",
"animate-fly-2",
"animate-fly-3",
"animate-fly-4",
"animate-float",
"animate-wiggle",
"animate-progress",
"animate-text-shimmer",
"animate-fade-in-up",
"animate-typing",
"animate-pulse-glow",
],
};