-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
81 lines (79 loc) · 2.24 KB
/
Copy pathtailwind.config.ts
File metadata and controls
81 lines (79 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
79
80
81
import type { Config } from "tailwindcss";
import typography from "@tailwindcss/typography";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
screens: {
xs: "380px",
sm: "640px",
md: "768px",
lg: "1024px",
xl: "1280px",
"2xl": "1536px",
},
extend: {
fontFamily: {
// Grotesk for headlines and display text
// Editorial serif carries display type and section headings
serif: ["var(--font-serif)", "ui-serif", "Georgia", "serif"],
sans: [
"var(--font-display)",
"ui-sans-serif",
"system-ui",
"sans-serif",
],
// Mono carries all registry metadata: case numbers, dates, severity
mono: [
"var(--font-mono)",
"ui-monospace",
"SFMono-Regular",
"Consolas",
"monospace",
],
},
colors: {
// Warm-neutral archival canvas
"bg-canvas": "#0c0b0a",
"bg-surface": "#141210",
"bg-elevated": "#1c1917",
"text-primary": "#f2ede4",
"text-secondary": "#a8a096",
"text-tertiary": "#8f8779",
"border-default": "rgba(242,237,228,0.10)",
"border-strong": "rgba(242,237,228,0.19)",
// Signal amber: the one brand accent
accent: "#f5a524",
"accent-soft": "#20170a",
"accent-strong": "#ffc25c",
// Semantic severity scale, deliberately separate from the accent
"sev-critical": "#e5484d",
"sev-critical-soft": "#25100f",
"sev-high": "#f5a524",
"sev-high-soft": "#20170a",
"sev-medium": "#d3b04c",
"sev-medium-soft": "#1d1809",
"sev-low": "#8aa1b8",
"sev-low-soft": "#111518",
},
typography: {
DEFAULT: {
css: {
color: "#f2ede4",
a: { color: "#f5a524" },
h1: { color: "#f2ede4" },
h2: { color: "#f2ede4" },
h3: { color: "#f2ede4" },
strong: { color: "#f2ede4" },
code: { color: "#f2ede4" },
},
},
},
},
},
plugins: [typography],
};
export default config;