-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
68 lines (65 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
61
62
63
64
65
66
67
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
colors: {
light: "#D9D9D9",
dark: "#222125",
},
fontFamily: {
sans: ["Urbanist", "sans-serif"],
},
keyframes: {
dance: {
"0%": { transform: "translate(5px,0)" },
"25%": { transform: "translate(10px,10px)" },
"50%": { transform: "translate(15px,0)" },
"75%": { transform: "translate(10px,10px)" },
"100%": { transform: "translate(5px,0)" },
},
updown: {
"0%": { transform: "translateY(0px)" },
"50%": { transform: "translateY(-20px)" },
"100%": { transform: "translateY(0px)" },
},
},
animation: {
dance: "dance 1s ease-in-out infinite",
updown: "updown 0.5s infinite",
},
animationDelay: {
"1s": " 1s",
"2s": "2s",
"3s": "3s",
"4s": "4s",
"5s": "5s",
"6s": "6s",
},
},
},
plugins: [
function ({ addUtilities }) {
addUtilities({
".delay-1s": {
"animation-delay": "0.1s",
},
".delay-2s": {
"animation-delay": "0.2s",
},
".delay-3s": {
"animation-delay": "0.3s",
},
".delay-4s": {
"animation-delay": "0.4s",
},
".delay-5s": {
"animation-delay": "0.5s",
},
".delay-6s": {
"animation-delay": "0.6s",
},
});
},
],
};