-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
42 lines (42 loc) · 1.05 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
module.exports = {
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
minHeight: {
0: '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
full: '100%',
screen: '100vh',
},
extend: {
colors: {
'afe-yellow': '#feed2e',
'afz-blue': '#49b7e8',
},
animation: {
wiggle: 'wiggle 1s ease-in-out infinite',
xbounce: 'xbounce 1s infinite',
},
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-3deg)' },
'50%': { transform: 'rotate(3deg)' },
},
xbounce: {
'0%, 100%': {
transform: 'translateX(-25%)',
animationTimingFunction: 'cubic-bezier(0.8, 0, 1, 1)',
},
'50%': {
transform: 'translateX(0)',
animationTimingFunction: 'cubic-bezier(0.8, 0, 0.2, 1)',
},
},
},
},
},
variants: {},
plugins: [require('@tailwindcss/aspect-ratio')],
}