-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
60 lines (60 loc) · 1.57 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
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
keyframes: {
wave: {
'0%': { transform: 'rotate(0.0deg)' },
'30%': { transform: 'rotate(-2deg)' },
'50%': { transform: 'rotate(0deg)' },
'60%': { transform: 'rotate(0.0deg)' },
'100%': { transform: 'rotate(0.0deg)' },
},
turn: {
'0%': {
transform: 'rotate(30deg)',
opacity: '0%',
},
'100%': { transform: 'rotate(0deg)', opacity: '100%' },
},
turnOff: {
'0%': { transform: 'rotate(-90deg)', opacity: '0%' },
'100%': { transform: 'rotate(0deg)', opacity: '100%' },
},
slideInLeft: {
'0%': {
transform: 'translateX(100%)',
opacity: '0',
},
'100%': {
transform: 'translateX(0)',
opacity: '1',
},
},
slideOutLeft: {
'0%': {
transform: 'translateX(0)',
opacity: '1',
},
'50%': {
transform: 'translateX(100%)',
opacity: '0',
},
'100%': {
transform: 'translateX(0%)',
opacity: '0',
},
},
},
animation: {
'waving-hand': 'wave 0.3s linear',
'turn-90': 'turn 0.75s',
'turn-0': 'turnOff 0.75s',
'slide-in-left': 'slideInLeft 0.75s',
'slide-out-left': 'slideOutLeft 1.50s forwards',
},
transitionProperty: {},
},
},
plugins: [],
};