-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
63 lines (61 loc) · 1.55 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
keyframes: {
chatIn: {
from: {
transform: "translateY(16px)",
opacity: "0",
},
to: {
transform: "translateY(0px)",
opacity: "1",
},
},
comeInFromRight: {
from: {
transform: "translateX(100px)",
opacity: "0",
},
to: {
transform: "translateX(0px)",
opacity: "1",
}
},
comeInFromLeft: {
from: {
transform: "translateX(-100px)",
opacity: "0",
},
to: {
transform: "translateX(0px)",
opacity: "1",
}
},
floating: {
"0%": {
transform: "translateY(0px)",
},
"25%": {
transform: "translateY(10px)"
},
"75%": {
transform: "translateY(-10px)"
},
"100%": {
transform: "translateY(0px)",
}
}
},
animation: {
chatIn: "chatIn 0.1s forwards ease-out",
floatIn: "chatIn 0.5s forwards ease-out",
comeInFromRight: "comeInFromRight 0.5s forwards ease-out 0s, floating 5s ease-in-out infinite 0.5s",
comeInFromLeft: "comeInFromLeft 0.5s forwards ease-out 0s, floating 5s ease-in-out infinite 0.5s",
}
},
},
plugins: [],
};