-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
63 lines (62 loc) · 2.12 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
import colors from "tailwindcss/colors";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontFamily: {
BlackHanSans: "var(--font-black-han-sans)",
},
colors: {
"chingho-rank-1": colors.gray[200],
"chingho-rank-2": colors.lime[300],
"chingho-rank-3": colors.indigo[400],
"chingho-rank-4": colors.red[400],
"rhythm-theme": colors.rose[400],
"bright-cream-1": "#F6FDC4",
},
animation: {
leftZoom: "leftZoom 6s ease-in-out infinite",
rightZoom: "rightZoom 6s ease-in-out infinite",
clickAndDrag: "clickAndDrag 6s ease-in-out infinite",
leftDrag: "leftDrag 3s ease-in-out infinite",
rightDrag: "rightDrag 3s ease-in-out infinite",
},
keyframes: {
leftZoom: {
"0%": { transform: "translate(0, 0)" },
"20%": { transform: "translate(150%, 0) scale(1.2)" },
"60%": { transform: "translate(150%, 0) scale(1.2)" },
"75%": { transform: "translate(0, 0)" },
},
rightZoom: {
"0%": { transform: "translate(0, 0)" },
"20%": { transform: "translate(-150%, 0) scale(1.2)" },
"60%": { transform: "translate(-150%, 0) scale(1.2)" },
"75%": { transform: "translate(0, 0)" },
},
clickAndDrag: {
"10%": { transform: "scale(0.8)" },
"25%": { transform: "scale(0.8) translate(80%, 0)" },
"35%": { transform: "scale(0.8) translate(-80%, 0)" },
"50%": { transform: "scale(1) translate(0, 0)" },
"100%": { transform: "scale(1) translate(0, 0)" },
},
leftDrag: {
"0%": { transform: "translate(0, 0)" },
"25%": { transform: "translate(-80%, 0)" },
},
rightDrag: {
"0%": { transform: "translate(0, 0)" },
"25%": { transform: "translate(80%, 0)" },
},
},
},
},
plugins: [],
};
export default config;