forked from MakerGram/tinymlhack2024
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
113 lines (113 loc) · 3.14 KB
/
tailwind.config.js
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
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {
animation: {
'fade-in': 'fadeIn 0.5s ease-out',
'slide-up': 'slideUp 0.5s ease-out',
'marquee': 'marquee 15s linear infinite',
'fade-in-up': 'fade-in-up 0.6s ease-out',
'vertical-marquee-continuous': 'vertical-marquee-continuous 10s linear infinite',
'letter-reveal': 'letter-reveal 0.5s forwards',
'slide-in-right': 'slide-in-right 0.5s ease-out',
'slide-in-left': 'slide-in-left 0.5s ease-out',
// Modified continuous sliding animations
'slide-right': 'slideRight 8s linear infinite',
'slide-left': 'slideLeft 8s linear infinite',
'gradient-shift': 'gradient-shift 15s ease infinite',
'particle-float': 'particle-float 10s ease-in-out infinite',
},
keyframes: {
marquee: {
'0%': { transform: 'translateX(0%)' },
'100%': { transform: 'translateX(-100%)' },
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
},
'fade-in-up': {
'0%': {
opacity: '0',
transform: 'translateY(40px)'
},
'100%': {
opacity: '1',
transform: 'translateY(0)'
}
},
'gradient-shift': {
'0%, 100%': {
backgroundPosition: '0% 50%'
},
'50%': {
backgroundPosition: '100% 50%'
}
},
'particle-float': {
'0%, 100%': {
transform: 'translateY(0) rotate(0deg)',
opacity: '0.7'
},
'50%': {
transform: 'translateY(-20px) rotate(180deg)',
opacity: '0.5'
}
},
slideUp: {
'0%': { opacity: '0', transform: 'translateY(20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' }
},
'vertical-marquee-continuous': {
'0%': { transform: 'translateY(0)' },
'100%': { transform: 'translateY(-50%)' },
},
'letter-reveal': {
'0%': {
opacity: 0,
transform: 'translateY(20px)'
},
'50%': {
opacity: 1,
transform: 'translateY(0)'
},
'100%': {
opacity: 1,
transform: 'translateY(0)'
}
},
slideRight: {
'0%': { transform: 'translateX(0%)' },
'100%': { transform: 'translateX(-100%)' },
},
slideLeft: {
'0%': { transform: 'translateX(0%)' },
'100%': { transform: 'translateX(100%)' },
},
'slide-in-right': {
'0%': {
transform: 'translateX(100%)',
opacity: 0
},
'100%': {
transform: 'translateX(0)',
opacity: 1
}
},
'slide-in-left': {
'0%': {
transform: 'translateX(-100%)',
opacity: 0
},
'100%': {
transform: 'translateX(0)',
opacity: 1
}
}
}
}
},
plugins: [],
};