-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
59 lines (59 loc) · 1.46 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
/** @type {import('tailwindcss').Config} */
const config = {
content: [
"./*.tsx",
"./contents/**/*.{ts,tsx}",
"./styles/**/*.css",
"./components/**/*.{ts,tsx}"
],
theme: {
extend: {
container: {
center: true,
padding: {
"2xl": "10.5rem"
}
},
screens: {
xs: { max: "480px" },
md: { max: "768px" }
},
colors: {
background: {
400: "#444",
DEFAULT: "#232323"
},
foreground: {
DEFAULT: "#ffffff1f",
hover: "#ffffff14"
}
},
keyframes: {
float: {
"0%, 100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-10px)" }
},
wiggle: {
"0%, 100%": { transform: "rotate(-3deg)" },
"50%": { transform: "rotate(3deg)" }
},
fadeIn: {
"0%": { opacity: "0", transform: "translateY(10px)" },
"100%": { opacity: "1", transform: "translateY(0)" }
},
bounce: {
"0%, 100%": { transform: "translateY(-5%)" },
"50%": { transform: "translateY(0)" }
}
},
animation: {
float: "float 3s ease-in-out infinite",
wiggle: "wiggle 1s ease-in-out infinite",
"spin-slow": "spin 3s linear infinite",
fadeIn: "fadeIn 0.5s ease-out forwards",
bounce: "bounce 0.6s ease-in-out infinite"
}
}
}
}
export default config