-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
80 lines (77 loc) · 1.56 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
safelist: [
"delay-100ms",
"delay-200ms",
"delay-300ms",
"delay-400ms",
"delay-500ms",
"delay-600ms",
],
theme: {
extend: {
colors: {
greyBg: "rgba(255,255,255,0.87)",
},
keyframes: {
popup: {
"0%": {
scale: 0,
},
"100%": {
scale: 1,
},
},
popdown: {
"0%": {
scale: 1,
},
"100%": {
scale: 0,
},
},
},
animation: {
popup: "popup linear 0.4s",
popdown: "popdown 0.5s forwards",
},
animationDelay: {
"1ms": "100ms",
"2ms": "200ms",
"3ms": "300ms",
"4ms": "400ms",
"5ms": "500ms",
"6ms": "600ms",
"1300ms": "1300ms",
},
},
},
plugins: [
function ({ addUtilities }) {
addUtilities({
".delay-100ms": {
"animation-delay": "100ms",
},
".delay-200ms": {
"animation-delay": "200ms",
},
".delay-300ms": {
"animation-delay": "300ms",
},
".delay-400ms": {
"animation-delay": "400ms",
},
".delay-500ms": {
"animation-delay": "500ms",
},
".delay-600ms": {
"animation-delay": "600ms",
},
".delay-1300ms": {
"animation-delay": "1300ms",
},
});
},
],
};