-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
45 lines (45 loc) · 1.12 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
/** @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 },
},
'fade-out': {
'0%': { opacity: 1 },
'100%': { opacity: 0 },
},
'modal-in': {
'0%': {
opacity: 0,
transform: 'translateX(-50%) translateY(-55%) scale(1.02)',
},
'100%': {
opacity: 1,
transform: 'translateX(-50%) translateY(-50%) scale(1)',
},
},
'modal-out': {
'0%': {
opacity: 1,
transform: 'translateX(-50%) translateY(-50%) scale(1)',
},
'100%': {
opacity: 0,
transform: 'translateX(-50%) translateY(-55%) scale(1.02)',
},
},
},
animation: {
'fade-in': 'fade-in .2s',
'fade-out': 'fade-out .2s',
'modal-in': 'modal-in .2s',
'modal-out': 'modal-out .2s',
},
},
},
plugins: [],
}