-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
78 lines (77 loc) · 2.24 KB
/
tailwind.config.ts
File metadata and controls
78 lines (77 loc) · 2.24 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
78
import type { Config } from "tailwindcss";
export default {
content: ["./index.html", "./src/**/*.{ts,tsx}"],
theme: {
extend: {
colors: {
bg: {
base: "#0a0a0f",
surface: "#111118",
elevated: "#18181f",
},
accent: {
200: "rgb(var(--accent-200) / <alpha-value>)",
300: "rgb(var(--accent-300) / <alpha-value>)",
400: "rgb(var(--accent-400) / <alpha-value>)",
500: "rgb(var(--accent-500) / <alpha-value>)",
600: "rgb(var(--accent-600) / <alpha-value>)",
700: "rgb(var(--accent-700) / <alpha-value>)",
800: "rgb(var(--accent-800) / <alpha-value>)",
900: "rgb(var(--accent-900) / <alpha-value>)",
},
pink: {
accent: "#ec4899",
},
cyan: {
accent: "#06b6d4",
},
glass: {
fill: "rgba(255,255,255,0.04)",
border: "rgba(255,255,255,0.08)",
hover: "rgba(255,255,255,0.07)",
},
},
backdropBlur: {
glass: "20px",
},
boxShadow: {
glow: "0 0 30px rgb(var(--accent-600) / 0.4)",
"glow-sm": "0 0 15px rgb(var(--accent-600) / 0.25)",
"glow-pink": "0 0 20px rgba(236,72,153,0.35)",
card: "0 8px 32px rgba(0,0,0,0.4)",
},
fontFamily: {
sans: ["Inter", "system-ui", "sans-serif"],
},
borderRadius: {
card: "14px",
modal: "20px",
},
animation: {
"fade-in": "fadeIn 0.2s ease-out",
"slide-up": "slideUp 0.3s ease-out",
"scale-in": "scaleIn 0.2s ease-out",
shimmer: "shimmer 1.5s infinite",
},
keyframes: {
fadeIn: {
from: { opacity: "0" },
to: { opacity: "1" },
},
slideUp: {
from: { opacity: "0", transform: "translateY(12px)" },
to: { opacity: "1", transform: "translateY(0)" },
},
scaleIn: {
from: { opacity: "0", transform: "scale(0.95)" },
to: { opacity: "1", transform: "scale(1)" },
},
shimmer: {
"0%": { backgroundPosition: "-200% 0" },
"100%": { backgroundPosition: "200% 0" },
},
},
},
},
plugins: [],
} satisfies Config;