-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
90 lines (85 loc) · 1.99 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import type { Config } from "tailwindcss";
import { heroui } from "@heroui/react";
export default {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
// HeroUI,
"./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}"
],
// HeroUI,
darkMode: "class",
plugins: [heroui()],
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
},
fontFamily: {
sans: ["var(--font-sans)"],
mono: ["var(--font-geist-mono)"],
digit: ["var(--font-digital)"],
},
keyframes: {
appear: {
"0%": {
opacity: "0",
},
"100%": {
opacity: "1",
},
},
sway: {
"0%, 100%": {
transform: "rotate(-2deg)",
},
"50%": {
transform: "rotate(2deg)",
},
},
spasm: {
"0%": {
transform: "rotate(0deg)"
}
, "10%": {
transform: "rotate(5deg)"
}
, "20%": {
transform: "rotate(-5deg)"
}
, "30%": {
transform: "rotate(3deg)"
}
, "40%": {
transform: "rotate(-3deg)"
}
, "50%": {
transform: "rotate(1deg)"
}
, "60%": {
transform: "rotate(-1deg)"
}
, "70%": {
transform: "rotate(2deg)"
}
, "80%": {
transform: "rotate(-2deg)"
}
, "90%": {
transform: "rotate(0.5deg)"
}
, "100%": {
transform: "rotate(0deg)"
}
},
},
animation: {
sway: "sway 2s ease-in-out infinite",
spasm: "spasm 2s ease-in-out infinite",
appear: "appear 0.5s ease-in-out both",
},
},
},
} satisfies Config;