-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
64 lines (64 loc) · 1.94 KB
/
Copy pathtailwind.config.js
File metadata and controls
64 lines (64 loc) · 1.94 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
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ["class"],
content: ["./index.html", "./ui/**/*.{ts,tsx}"],
theme: {
extend: {
fontFamily: {
sans: ["Geist", "ui-sans-serif", "system-ui", "sans-serif"],
mono: ["Geist Mono", "ui-monospace", "monospace"],
},
colors: {
// Design token colours (mirror CSS variables for Tailwind class usage)
bg: {
base: "var(--bg-base)",
surface: "var(--bg-surface)",
elevated: "var(--bg-elevated)",
},
border: "var(--border)",
text: {
primary: "var(--text-primary)",
secondary: "var(--text-secondary)",
muted: "var(--text-muted)",
},
accent: "var(--accent)",
risk: {
low: "var(--risk-low)",
medium: "var(--risk-medium)",
high: "var(--risk-high)",
critical: "var(--risk-critical)",
},
entropy: {
safe: "var(--entropy-safe)",
packed: "var(--entropy-packed)",
encrypted: "var(--entropy-encrypted)",
},
},
keyframes: {
"count-up": {
"0%": { opacity: "0", transform: "translateY(8px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
"fade-in": {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
"row-in": {
"0%": { opacity: "0", transform: "translateX(-4px)" },
"100%": { opacity: "1", transform: "translateX(0)" },
},
"tooltip-in": {
"0%": { opacity: "0", transform: "scale(0.97)" },
"100%": { opacity: "1", transform: "scale(1)" },
},
},
animation: {
"count-up": "count-up 0.4s ease-out forwards",
"fade-in": "fade-in 0.1s ease-out",
"row-in": "row-in 0.15s ease-out forwards",
"tooltip-in": "tooltip-in 0.08s ease-out",
},
},
},
plugins: [],
};