-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
29 lines (29 loc) · 808 Bytes
/
Copy pathtailwind.config.js
File metadata and controls
29 lines (29 loc) · 808 Bytes
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
export default {
content: ['./index.html', './src/**/*.{js,jsx}'],
theme: {
extend: {
fontFamily: {
fun: ['"Fredoka One"', 'cursive'],
},
animation: {
bounce: 'bounce 0.5s ease-in-out',
'pop-in': 'popIn 0.3s ease-out',
shake: 'shake 0.4s ease-in-out',
confetti: 'confettiFall 1s ease-out forwards',
},
keyframes: {
popIn: {
'0%': { transform: 'scale(0.5)', opacity: '0' },
'80%': { transform: 'scale(1.1)' },
'100%': { transform: 'scale(1)', opacity: '1' },
},
shake: {
'0%, 100%': { transform: 'translateX(0)' },
'25%': { transform: 'translateX(-6px)' },
'75%': { transform: 'translateX(6px)' },
},
},
},
},
plugins: [],
}