-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
74 lines (72 loc) · 2.15 KB
/
tailwind.config.ts
File metadata and controls
74 lines (72 loc) · 2.15 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
64
65
66
67
68
69
70
71
72
73
74
import type { Config } from "tailwindcss";
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}",
],
darkMode: "class",
theme: {
extend: {
colors: {
brand: {
DEFAULT: "var(--brand-yellow)",
foreground: "var(--brand-foreground)",
dim: "rgba(232,255,71,0.08)",
border: "rgba(232,255,71,0.2)",
},
surface: {
DEFAULT: "var(--bg-surface)",
2: "var(--bg-surface-2)",
3: "var(--bg-surface-3)",
},
ink: {
DEFAULT: "var(--text-primary)",
2: "var(--text-secondary)",
3: "var(--text-tertiary)",
},
base: {
DEFAULT: "var(--bg-base)",
},
border: {
soft: "var(--border-soft)",
mid: "var(--border-mid)",
strong: "var(--border-strong)",
},
},
fontFamily: {
sans: ["var(--font-inter)", "Inter", "system-ui", "sans-serif"],
mono: ["var(--font-geist-mono)", "monospace"],
},
keyframes: {
fadeUp: {
"0%": { opacity: "0", transform: "translateY(14px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
modalPop: {
"0%": { opacity: "0", transform: "scale(0.93)" },
"100%": { opacity: "1", transform: "scale(1)" },
},
float: {
"0%, 100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-10px)" },
},
shimmer: {
"0%": { backgroundPosition: "-700px 0" },
"100%": { backgroundPosition: "700px 0" },
},
},
animation: {
"fade-up": "fadeUp 0.35s ease both",
"fade-up-1": "fadeUp 0.35s 0.05s ease both",
"fade-up-2": "fadeUp 0.35s 0.12s ease both",
"fade-up-3": "fadeUp 0.35s 0.19s ease both",
"modal-pop": "modalPop 0.22s cubic-bezier(0.34,1.56,0.64,1)",
float: "float 3s ease-in-out infinite",
shimmer: "shimmer 1.6s infinite linear",
},
},
},
plugins: [],
};
export default config;