-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
63 lines (62 loc) · 1.57 KB
/
Copy pathtailwind.config.ts
File metadata and controls
63 lines (62 loc) · 1.57 KB
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";
export default {
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: {
background: "var(--background)",
foreground: "var(--foreground)",
},
fontFamily: {
display: ["Clash Display"],
serif: ["EB Garamond"],
},
keyframes: {
"border-spin": {
"100%": {
transform: "rotate(360deg)",
},
},
"prism-sequence": {
// Jump animation (0-25%)
"0%": {
transform: "translateY(0)"
},
"10%": {
transform: "translateY(-10px)"
},
"20%": {
transform: "translateY(0)"
},
// Rotate animation (25-50%)
"25%, 45%": {
transform: "rotate(0deg)"
},
"35%": {
transform: "rotate(180deg)"
},
// Turn/flip animation (50-75%)
"50%, 70%": {
transform: "rotateY(0deg)"
},
"60%": {
transform: "rotateY(180deg)"
},
// Brief pause before repeating
"75%, 100%": {
transform: "rotate(0deg) rotateY(0deg) translateY(0)"
}
}
},
animation: {
"border-spin": "border-spin 7s linear infinite",
"prism-sequence": "prism-sequence 8s ease-in-out infinite",
},
},
},
plugins: [],
} satisfies Config;