-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
49 lines (49 loc) · 1.33 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
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
keyframes: {
wiggle: {
"0%, 100%": { transform: "translate3d(0,0,0)" },
"20%, 40%": { transform: "translate3d(-10px, 0, 0)" },
"60%, 80%": { transform: "translate3d(10px, 0, 0)" },
},
"zoom-in": {
"0%": { transform: "scale(0)" },
"50%": { transform: "scale(1.2)" },
"100%": { transform: "scale(1)" },
},
"zoom-out": {
"0%": { transform: "scale(1)" },
"50%": { transform: "scale(1.2)" },
"100%": { transform: "scale(0)" },
},
},
animation: {
wiggle: "wiggle .5s ease-in-out",
"zoom-in": "zoom-in .5s ease-in-out",
"zoom-out": "zoom-out .5s ease-in-out",
},
backgroundColor: {
skin: {
primary: "var(--primary-color)",
secondary: "var(--secondary-color)",
muted: "var(--muted-color)",
hover: "var(--hover-color)",
}
},
colors: {
skin: {
primary: "var(--primary-color)",
secondary: "var(--secondary-color)",
muted: "var(--muted-color)",
hover: "var(--hover-color)",
}
}
},
},
plugins: [],
};