-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
77 lines (76 loc) · 2.52 KB
/
Copy pathtailwind.config.ts
File metadata and controls
77 lines (76 loc) · 2.52 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
75
76
77
import type { Config } from "tailwindcss";
export default {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
theme: {
extend: {
fontFamily: {
sans: ["InterVariable", "Inter", "ui-sans-serif", "system-ui", "-apple-system", "Segoe UI", "Roboto", "sans-serif"],
mono: ["Geist Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Monaco", "monospace"],
},
colors: {
// Semantic tokens (driven by CSS vars — dark theme)
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
border: "hsl(var(--border))",
card: "hsl(var(--card))",
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
},
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "#ffffff",
},
// Brand palette
brand: {
blue: "#0469ff",
purple: "#7000ff",
washed: "#b5b2ff",
washedBlue: "#6889ff",
dark: "#030014",
},
ink: "#0b0b12",
},
opacity: {
12: "0.12",
15: "0.15",
},
boxShadow: {
xs: "0 1px 2px rgba(0,0,0,0.3)",
card: "0 1px 2px rgba(0,0,0,0.3), 0 8px 24px -12px rgba(0,0,0,0.5)",
soft: "0 8px 40px -16px rgba(99,102,241,0.35)",
ad: "0 24px 60px -24px rgba(0,0,0,0.7)",
glow: "0 10px 40px -10px rgba(99,102,241,0.6)",
notif: "0 0 0 1px rgba(255,255,255,0.06), 0 12px 32px -12px rgba(0,0,0,0.7)",
},
keyframes: {
fadeUp: {
"0%": { opacity: "0", transform: "translateY(16px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
float: {
"0%,100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-12px)" },
},
blob: {
"0%,100%": { transform: "translate(0,0) scale(1)" },
"33%": { transform: "translate(24px,-32px) scale(1.1)" },
"66%": { transform: "translate(-20px,18px) scale(0.94)" },
},
shimmer: {
"100%": { transform: "translateX(100%)" },
},
},
animation: {
"fade-up": "fadeUp 0.6s cubic-bezier(0.21,1.02,0.73,1) both",
float: "float 6s ease-in-out infinite",
blob: "blob 16s ease-in-out infinite",
shimmer: "shimmer 2.2s ease-in-out infinite",
},
transitionTimingFunction: {
"out-expo": "cubic-bezier(0.34,1.56,0.64,1)",
},
},
},
plugins: [],
} satisfies Config;