-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathtailwind.config.js
More file actions
95 lines (94 loc) · 2.49 KB
/
tailwind.config.js
File metadata and controls
95 lines (94 loc) · 2.49 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
// Semantic spacing tokens for design system
spacing: {
"space-xs": "4px",
"space-sm": "8px",
"space-md": "16px",
"space-lg": "24px",
"space-xl": "32px",
},
// Focus ring tokens (use with `ring-focus` and `ring-offset-focus`)
ringWidth: {
focus: "3px",
},
ringOffsetWidth: {
focus: "4px",
},
colors: {
brand: {
red: "#D72323",
dark: "#0A0A0A",
redHover: "#B91C1C",
},
status: {
success: {
fg: "#86EFAC",
bg: "rgba(34, 197, 94, 0.14)",
border: "rgba(34, 197, 94, 0.28)",
soft: "rgba(20, 83, 45, 0.28)",
},
warning: {
fg: "#FDE68A",
bg: "rgba(245, 158, 11, 0.14)",
border: "rgba(245, 158, 11, 0.28)",
soft: "rgba(120, 53, 15, 0.28)",
},
error: {
fg: "#FDA4AF",
bg: "rgba(244, 63, 94, 0.14)",
border: "rgba(244, 63, 94, 0.28)",
soft: "rgba(127, 29, 29, 0.3)",
},
info: {
fg: "#93C5FD",
bg: "rgba(59, 130, 246, 0.14)",
border: "rgba(59, 130, 246, 0.28)",
soft: "rgba(30, 64, 175, 0.24)",
},
},
primary: {
50: "#f0f9ff",
100: "#e0f2fe",
200: "#bae6fd",
300: "#7dd3fc",
400: "#38bdf8",
500: "#0ea5e9",
600: "#0284c7",
700: "#0369a1",
800: "#075985",
900: "#0c4a6e",
},
red: {
600: "#DC2626",
700: "#B91C1C",
800: "#991B1B",
900: "#7F1D1D",
},
},
// --- ADDED ANIMATIONS BELOW ---
animation: {
"neon-pulse": "neon-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
shimmer: "shimmer 2s linear infinite",
},
keyframes: {
"neon-pulse": {
"0%, 100%": { opacity: "1", filter: "brightness(1)" },
"50%": { opacity: "0.8", filter: "brightness(1.4) blur(0.5px)" },
},
shimmer: {
"0%": { backgroundPosition: "200% 0" },
"100%": { backgroundPosition: "-200% 0" },
},
},
},
},
plugins: [],
};