-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
75 lines (75 loc) · 2.67 KB
/
tailwind.config.js
File metadata and controls
75 lines (75 loc) · 2.67 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
keyframes: {
"fade-in": {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
"slide-in-from-bottom": {
"0%": { transform: "translateY(1rem)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
"slide-in-from-top": {
"0%": { transform: "translateY(-1rem)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
"slide-in-from-left": {
"0%": { transform: "translateX(-1rem)", opacity: "0" },
"100%": { transform: "translateX(0)", opacity: "1" },
},
"slide-in-from-right": {
"0%": { transform: "translateX(1rem)", opacity: "0" },
"100%": { transform: "translateX(0)", opacity: "1" },
},
"zoom-in": {
"0%": { transform: "scale(0.9)", opacity: "0" },
"100%": { transform: "scale(1)", opacity: "1" },
},
"shimmer": {
"0%": { transform: "translateX(-200%)" },
"100%": { transform: "translateX(200%)" },
},
"glow-pulse": {
"0%, 100%": {
textShadow: `
0 0 10px rgba(255, 255, 255, 0.8),
0 0 20px rgba(255, 255, 255, 0.6),
0 0 30px rgba(255, 255, 255, 0.4),
0 0 40px rgba(174, 81, 255, 0.5),
0 0 70px rgba(174, 81, 255, 0.3)
`
},
"50%": {
textShadow: `
0 0 15px rgba(255, 255, 255, 0.9),
0 0 30px rgba(255, 255, 255, 0.7),
0 0 45px rgba(255, 255, 255, 0.5),
0 0 60px rgba(174, 81, 255, 0.6),
0 0 90px rgba(174, 81, 255, 0.4)
`
},
},
"number-flip": {
"0%": { transform: "rotateX(90deg)", opacity: "0" },
"50%": { transform: "rotateX(0deg)", opacity: "1" },
"100%": { transform: "rotateX(0deg)", opacity: "1" },
},
},
animation: {
"fade-in": "fade-in 0.5s ease-out",
"slide-in-from-bottom": "slide-in-from-bottom 0.5s ease-out",
"slide-in-from-top": "slide-in-from-top 0.5s ease-out",
"slide-in-from-left": "slide-in-from-left 0.5s ease-out",
"slide-in-from-right": "slide-in-from-right 0.5s ease-out",
"zoom-in": "zoom-in 0.5s ease-out",
"shimmer": "shimmer 3s ease-in-out infinite",
"glow-pulse": "glow-pulse 2s ease-in-out infinite",
"number-flip": "number-flip 0.4s ease-out",
},
},
},
plugins: [],
};