-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
50 lines (50 loc) · 1.43 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
primary: "#ef4e19",
},
keyframes: {
fadeInAndSlideUp: {
"0%": { opacity: 0, transform: "translateY(60px)" },
"100%": { opacity: 1, transform: "translateY(0)" },
},
fadeInOut: {
"0%, 100%": { opacity: 0 },
"50%": { opacity: 1 },
},
spinSlow: {
"0%": { transform: "rotate(0deg)" },
"100%": { transform: "rotate(360deg)" },
},
bounceSlow: {
"0%, 100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-20px)" },
},
bounceSlowFade: {
"0%, 100%": { transform: "translateY(0)", opacity: 0 },
"50%": { transform: "translateY(10px)", opacity: 1 },
},
fadeInAndSlideLeft: {
"0%": { opacity: 0, transform: "translateX(100px)" },
"100%": { opacity: 1, transform: "translateX(0)" },
},
},
animation: {
fadeInAndSlideUp: "fadeInAndSlideUp 0.7s ease-in-out 0.2s forwards",
fadeInOut: "fadeInOut 6s ease-in-out infinite",
spinSlow: "spinSlow 10s linear infinite",
bounceSlow: "bounceSlow 3s ease-in-out infinite",
bounceSlowFade: "bounceSlowFade 3s ease-in-out infinite",
fadeInAndSlideLeft: "fadeInAndSlideLeft 0.7s ease-in-out 0.2s forwards",
},
},
},
plugins: [],
};