-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
81 lines (79 loc) · 2.23 KB
/
Copy pathtailwind.config.ts
File metadata and controls
81 lines (79 loc) · 2.23 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: {
// Light paper canvas
"bg-canvas": "#fafaf9",
"bg-surface": "#ffffff",
"bg-elevated": "#f5f5f4",
"text-primary": "#1c1917",
"text-secondary": "#57534e",
"text-tertiary": "#6f6860",
"border-default": "rgba(28,25,23,0.10)",
"border-strong": "rgba(28,25,23,0.22)",
// Signal emerald: the one brand accent
accent: "#047857",
"accent-soft": "#ecfdf5",
"accent-strong": "#065f46",
// Semantic severity scale, deliberately separate from the accent
"sev-critical": "#dc2626",
"sev-critical-soft": "#fef2f2",
"sev-high": "#b45309",
"sev-high-soft": "#fffbeb",
"sev-medium": "#ca8a04",
"sev-medium-soft": "#fefce8",
"sev-low": "#64748b",
"sev-low-soft": "#f1f5f9",
},
typography: {
DEFAULT: {
css: {
color: "#1c1917",
a: { color: "#047857" },
h1: { color: "#1c1917" },
h2: { color: "#1c1917" },
h3: { color: "#1c1917" },
strong: { color: "#1c1917" },
code: { color: "#1c1917" },
},
},
},
},
},
plugins: [typography],
};
export default config;