Brutalist · Developer tools
Null Grid design system template
Swiss brutalist black and white on a visible 12-column grid: Archivo heavy headlines, Azeret Mono data, 2px rules and zero radius. Built for infrastructure, network and data-platform companies.
- WCAG AA verified
- Light + dark
- Tokens = preview
- Archivo
Infrastructure with nothing to hide
Storage, queues and private networking priced by the byte, observable down to the packet, with a public status page that is generated from the same metrics you see.
eu-central object store
- Flat pricing
- Packet-level logs
- Public status
ap-south queue service
- Flat pricing
- Packet-level logs
- Public status
us-west private network
- Flat pricing
- Packet-level logs
- Public status
“We moved 9 PB of sensor data in a quarter and the bill had two lines.”
Personality. Null Grid strips the interface to structure. Pure white paper, pure black ink, 2px rules that expose the grid, and no radius anywhere. Archivo at heavy weight and tight tracking gives headlines the density of a freight manifest; Azeret Mono sets every number, hostname and timestamp. Color is absent except for one signal red reserved for faults. Hierarchy is made with scale, rules and position alone, which suits companies that sell reliability: object storage, networks, queues, observability.
Visible grid: 2px black rules between columns and rows, cells filled by content, not by cards
Heavy Archivo headlines at 800 weight set flush left and bleeding into the next column
Numerals in Azeret Mono at display size as the main graphic element
Inverted cells: a black block with white text marks the one active or selected item
Signal red appears only for faults and failures, as a 8px square beside the label
Color. 21 roles, both modes.
background
#ffffff
foreground
#000000
card
#ffffff
cardForeground
#000000
muted
#f0f0f0
mutedForeground
#505050
primary
#000000
primaryForeground
#ffffff
secondary
#e4e4e4
secondaryForeground
#000000
accent
#000000
accentForeground
#ffffff
border
rgba(0,0,0,1)
input
rgba(0,0,0,1)
ring
#000000
destructive
#d40000
destructiveForeground
#ffffff
success
#006b2e
successForeground
#ffffff
warning
#ffd400
warningForeground
#000000
Type. Archivo · Archivo · Azeret Mono
The file. Drop it in your repo.
1---2name: "Null Grid"3slug: "null-grid"4schema: "freedesignmd/v2"5description: "Swiss brutalist black and white on a visible 12-column grid: Archivo heavy headlines, Azeret Mono data, 2px rules and zero radius. Built for infrastructure, network and data-platform companies."6source: "https://freedesignmd.com/system/null-grid"7aesthetic: "brutalist"8industry: "developer"9default_mode: "light"10fonts:11 display: "Archivo"12 body: "Archivo"13 mono: "Azeret Mono"14 google_fonts_url: "https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;800&family=Azeret+Mono:wght@400;500;700&display=swap"15colors:16 light:17 background: "#ffffff"18 foreground: "#000000"19 card: "#ffffff"20 cardForeground: "#000000"21 muted: "#f0f0f0"22 mutedForeground: "#505050"23 primary: "#000000"24 primaryForeground: "#ffffff"25 secondary: "#e4e4e4"26 secondaryForeground: "#000000"27 accent: "#000000"28 accentForeground: "#ffffff"29 border: "rgba(0,0,0,1)"30 input: "rgba(0,0,0,1)"31 ring: "#000000"32 destructive: "#d40000"33 destructiveForeground: "#ffffff"34 success: "#006b2e"35 successForeground: "#ffffff"36 warning: "#ffd400"37 warningForeground: "#000000"38 dark:39 background: "#000000"40 foreground: "#ffffff"41 card: "#000000"42 cardForeground: "#ffffff"43 muted: "#141414"44 mutedForeground: "#a8a8a8"45 primary: "#ffffff"46 primaryForeground: "#000000"47 secondary: "#1e1e1e"48 secondaryForeground: "#ffffff"49 accent: "#ffffff"50 accentForeground: "#000000"51 border: "rgba(255,255,255,1)"52 input: "rgba(255,255,255,1)"53 ring: "#ffffff"54 destructive: "#ff4d4d"55 destructiveForeground: "#000000"56 success: "#3ddc84"57 successForeground: "#000000"58 warning: "#ffd400"59 warningForeground: "#000000"60chart:61 light: ["#000000", "#d40000", "#767676", "#006b2e", "#b0b0b0"]62 dark: ["#ffffff", "#ff4d4d", "#8a8a8a", "#3ddc84", "#4d4d4d"]63type:64 display: { font: display, size: 112, size_mobile: 63, leading: 0.88, weight: 800, tracking: "-0.05em" }65 h1: { font: display, size: 64, size_mobile: 44, leading: 0.94, weight: 800, tracking: "-0.04em" }66 h2: { font: display, size: 32, size_mobile: 26, leading: 1.05, weight: 800, tracking: "-0.025em" }67 h3: { font: display, size: 18, size_mobile: 18, leading: 1.25, weight: 600, tracking: "-0.01em" }68 body: { font: body, size: 16, size_mobile: 16, leading: 1.5, weight: 400, tracking: "-0.005em" }69 small: { font: body, size: 14, size_mobile: 14, leading: 1.45, weight: 400, tracking: "0em" }70 label: { font: mono, size: 11, size_mobile: 11, leading: 1.3, weight: 500, tracking: "0.06em", uppercase: true }71 mono: { font: mono, size: 13, size_mobile: 13, leading: 1.5, weight: 400, tracking: "0em" }72spacing: [4, 8, 16, 24, 32, 48, 64, 96, 128]73radius: { sm: "0px", md: "0px", lg: "0px", xl: "0px", full: "9999px" }74shadow:75 light:76 sm: "none"77 md: "4px 4px 0 #000000"78 lg: "8px 8px 0 #000000"79 dark:80 sm: "none"81 md: "4px 4px 0 #ffffff"82 lg: "8px 8px 0 #ffffff"83motion:84 duration_ms: { instant: 0, fast: 80, base: 120, slow: 200 }85 easing: { standard: "linear", out: "cubic-bezier(0, 0, 0.2, 1)", in: "cubic-bezier(0.8, 0, 1, 1)" }86 reveal: { distance_px: 0, stagger_ms: 0 }87layout: { max_width: 1280, columns: 12, gutter: 0, section_y: 0, section_y_mobile: 0, measure: "58ch" }88---89 90# Null Grid, DESIGN.md91 92> Swiss brutalist black and white on a visible 12-column grid: Archivo heavy headlines, Azeret Mono data, 2px rules and zero radius. Built for infrastructure, network and data-platform companies.93 94## How to use this file95 961. Save this file as `DESIGN.md` in the project root and paste the `tokens.css` block (section 10) into your global stylesheet, or import `https://freedesignmd.com/system/null-grid.css`, which also contains every component class.972. **Claude Code:** add `Before any UI work, read @DESIGN.md and use only its tokens and component recipes.` to `CLAUDE.md`.983. **Cursor:** create `.cursor/rules/design.mdc` with `alwaysApply: true` and the line `Follow @DESIGN.md for every color, font, radius, shadow, spacing and duration.`994. **Lovable:** paste section 10 into `src/index.css` and add this file to Project Knowledge; ask for changes by role name (`primary`, `muted-foreground`), never by hex.1005. Default mode is **light**: dark mode is `class="dark"` on `<html>` (both modes are fully specified). Use semantic names only (`bg-primary`, `text-muted-foreground`, `.btn-primary`, `var(--radius-lg)`); if a value is not in this file, it does not belong in the UI.101 102## 1. Overview & personality103 104Null Grid strips the interface to structure. Pure white paper, pure black ink, 2px rules that expose the grid, and no radius anywhere. Archivo at heavy weight and tight tracking gives headlines the density of a freight manifest; Azeret Mono sets every number, hostname and timestamp. Color is absent except for one signal red reserved for faults. Hierarchy is made with scale, rules and position alone, which suits companies that sell reliability: object storage, networks, queues, observability.105 106**At a glance**107 108- Aesthetic: Brutalist · Industry: Developer tools · Default mode: light109- Type: Archivo (display) · Archivo (body) · Azeret Mono (mono)110- Brand color (`primary`): `#000000` light · `#ffffff` dark, on primary, text is `#ffffff` / `#000000`111- Corners: 0px / 0px / 0px / 0px · Container 1280px · Base motion 120ms112 113**Signature moves**114 115- Visible grid: 2px black rules between columns and rows, cells filled by content, not by cards116- Heavy Archivo headlines at 800 weight set flush left and bleeding into the next column117- Numerals in Azeret Mono at display size as the main graphic element118- Inverted cells: a black block with white text marks the one active or selected item119- Signal red appears only for faults and failures, as a 8px square beside the label120 121## 2. Color122 123Roles follow shadcn/ui naming, so `primary` is always the brand / main-action color and `foreground` is always body text. Every text pair below is WCAG AA (≥ 4.5:1) in both modes.124 125### Light mode (`:root`)126 127| Role | CSS variable | Value | Contrast | Usage |128|---|---|---|---|---|129| `background` | `--background` | `#ffffff` | | Page canvas |130| `foreground` | `--foreground` | `#000000` | 21.00:1 on background | Body text and headings on background |131| `card` | `--card` | `#ffffff` | | Cards, panels, popovers |132| `cardForeground` | `--card-foreground` | `#000000` | 21.00:1 on card | Text on card |133| `muted` | `--muted` | `#f0f0f0` | | Subtle fills: table headers, code, skeletons |134| `mutedForeground` | `--muted-foreground` | `#505050` | 7.08:1 on muted | Secondary text, captions, placeholders |135| `primary` | `--primary` | `#000000` | | Brand color: primary buttons, links, focus, active states |136| `primaryForeground` | `--primary-foreground` | `#ffffff` | 21.00:1 on primary | Text and icons on primary |137| `secondary` | `--secondary` | `#e4e4e4` | | Secondary buttons and quiet fills |138| `secondaryForeground` | `--secondary-foreground` | `#000000` | 16.52:1 on secondary | Text on secondary |139| `accent` | `--accent` | `#000000` | | Hover and selected backgrounds (rows, menu items, ghost buttons) |140| `accentForeground` | `--accent-foreground` | `#ffffff` | 21.00:1 on accent | Text on accent |141| `border` | `--border` | `rgba(0,0,0,1)` | | Dividers and card outlines |142| `input` | `--input` | `rgba(0,0,0,1)` | | Input borders |143| `ring` | `--ring` | `#000000` | | Focus ring |144| `destructive` | `--destructive` | `#d40000` | | Errors and destructive actions |145| `destructiveForeground` | `--destructive-foreground` | `#ffffff` | 5.53:1 on destructive | Text on destructive |146| `success` | `--success` | `#006b2e` | | Positive status |147| `successForeground` | `--success-foreground` | `#ffffff` | 6.68:1 on success | Text on success |148| `warning` | `--warning` | `#ffd400` | | Caution status |149| `warningForeground` | `--warning-foreground` | `#000000` | 14.67:1 on warning | Text on warning |150| `chart-1…5` | `--chart-1…5` | `#000000` `#d40000` `#767676` `#006b2e` `#b0b0b0` | | Data series, in this order |151 152### Dark mode (`.dark`)153 154| Role | CSS variable | Value | Contrast | Usage |155|---|---|---|---|---|156| `background` | `--background` | `#000000` | | Page canvas |157| `foreground` | `--foreground` | `#ffffff` | 21.00:1 on background | Body text and headings on background |158| `card` | `--card` | `#000000` | | Cards, panels, popovers |159| `cardForeground` | `--card-foreground` | `#ffffff` | 21.00:1 on card | Text on card |160| `muted` | `--muted` | `#141414` | | Subtle fills: table headers, code, skeletons |161| `mutedForeground` | `--muted-foreground` | `#a8a8a8` | 7.75:1 on muted | Secondary text, captions, placeholders |162| `primary` | `--primary` | `#ffffff` | | Brand color: primary buttons, links, focus, active states |163| `primaryForeground` | `--primary-foreground` | `#000000` | 21.00:1 on primary | Text and icons on primary |164| `secondary` | `--secondary` | `#1e1e1e` | | Secondary buttons and quiet fills |165| `secondaryForeground` | `--secondary-foreground` | `#ffffff` | 16.67:1 on secondary | Text on secondary |166| `accent` | `--accent` | `#ffffff` | | Hover and selected backgrounds (rows, menu items, ghost buttons) |167| `accentForeground` | `--accent-foreground` | `#000000` | 21.00:1 on accent | Text on accent |168| `border` | `--border` | `rgba(255,255,255,1)` | | Dividers and card outlines |169| `input` | `--input` | `rgba(255,255,255,1)` | | Input borders |170| `ring` | `--ring` | `#ffffff` | | Focus ring |171| `destructive` | `--destructive` | `#ff4d4d` | | Errors and destructive actions |172| `destructiveForeground` | `--destructive-foreground` | `#000000` | 6.42:1 on destructive | Text on destructive |173| `success` | `--success` | `#3ddc84` | | Positive status |174| `successForeground` | `--success-foreground` | `#000000` | 11.77:1 on success | Text on success |175| `warning` | `--warning` | `#ffd400` | | Caution status |176| `warningForeground` | `--warning-foreground` | `#000000` | 14.67:1 on warning | Text on warning |177| `chart-1…5` | `--chart-1…5` | `#ffffff` `#ff4d4d` `#8a8a8a` `#3ddc84` `#4d4d4d` | | Data series, in this order |178 179## 3. Typography180 181Load fonts with:182 183```html184<link rel="preconnect" href="https://fonts.googleapis.com" />185<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />186<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;800&family=Azeret+Mono:wght@400;500;700&display=swap" />187```188 189| Role | Font | Size (390px → 1440px) | Line height | Weight | Tracking | Style | Class |190|---|---|---|---|---|---|---|---|191| `display` | Archivo | 63px → 112px | 0.88 | 800 | -0.05em | – | `.type-display` |192| `h1` | Archivo | 44px → 64px | 0.94 | 800 | -0.04em | – | `.type-h1` |193| `h2` | Archivo | 26px → 32px | 1.05 | 800 | -0.025em | – | `.type-h2` |194| `h3` | Archivo | 18px | 1.25 | 600 | -0.01em | – | `.type-h3` |195| `body` | Archivo | 16px | 1.5 | 400 | -0.005em | – | `.type-body` |196| `small` | Archivo | 14px | 1.45 | 400 | 0em | – | `.type-small` |197| `label` | Azeret Mono | 11px | 1.3 | 500 | 0.06em | uppercase | `.type-label` |198| `mono` | Azeret Mono | 13px | 1.5 | 400 | 0em | – | `.type-mono` |199 200- `h1`–`h3` elements map to the roles of the same name; `display` is for one hero headline per page.201- Fluid sizes use `clamp()` between the two values (see `--type-*-size` in tokens.css).202- Only the weights in this table are loaded; never use other weights.203 204## 4. Spacing & layout205 206Spacing is a 4px scale. Use these steps only (`--space-N` = N × 4px):207 208| Token | `--space-1` | `--space-2` | `--space-4` | `--space-6` | `--space-8` | `--space-12` | `--space-16` | `--space-24` | `--space-32` |209|---|---|---|---|---|---|---|---|---|---|210| px | 4 | 8 | 16 | 24 | 32 | 48 | 64 | 96 | 128 |211 212- Container: max 1280px, 0px side gutters (`.container`).213- Grid: 12 columns, 0px gap.214- Sections: 0px vertical padding on desktop, 0px on mobile (`.section`).215- Long text: max 58ch per line (`.prose`).216- Sections have no vertical margin; they are separated by a 2px rule and padded 48px inside.217- Columns have zero gutter. Cell borders are 2px black and touch, forming the visible grid.218- Text cells align to the top-left; numerals align to the bottom-right.219 220## 5. Shape & elevation221 222| Radius | Value | Use |223|---|---|---|224| `--radius-sm` | 0px | badges, checkboxes, small chips |225| `--radius-md` | 0px | buttons, inputs, tabs (= shadcn `--radius`) |226| `--radius-lg` | 0px | cards, panels, menus |227| `--radius-xl` | 0px | dialogs, hero media, large surfaces |228| `--radius-full` | 9999px | avatars, pills, toggles |229 230| Shadow | Mode | Value |231|---|---|---|232| `--shadow-sm` | light | `none` |233| `--shadow-md` | light | `4px 4px 0 #000000` |234| `--shadow-lg` | light | `8px 8px 0 #000000` |235| `--shadow-sm` | dark | `none` |236| `--shadow-md` | dark | `4px 4px 0 #ffffff` |237| `--shadow-lg` | dark | `8px 8px 0 #ffffff` |238 239`sm` = resting card · `md` = hover / raised · `lg` = dialogs and popovers. Nothing else casts a shadow.240 241## 6. Motion242 243**Hard cut.** There are no fades or slides. States switch in a single frame or a short linear step; selected cells invert black to white instantly, and offset shadows snap by 4px on press. Motion is a cut, never a transition.244 245| Token | Value | Use |246|---|---|---|247| `--duration-instant` | 0ms | press feedback, toggles |248| `--duration-fast` | 80ms | hover, focus, color changes |249| `--duration-base` | 120ms | menus, tabs, popovers, cards lifting |250| `--duration-slow` | 200ms | dialogs and scroll reveals |251| `--ease-standard` | `linear` | state changes |252| `--ease-out` | `cubic-bezier(0, 0, 0.2, 1)` | entrances and reveals |253| `--ease-in` | `cubic-bezier(0.8, 0, 1, 1)` | exits |254 255- Scroll reveal (`.reveal` → `.reveal.is-in` via IntersectionObserver): rise 0px and fade over `--duration-slow` with `--ease-out`; siblings stagger by 0ms (`--reveal-index`).256- Use no durations other than the four above.257- `prefers-reduced-motion: reduce` → no transforms, reveals show immediately (included in tokens.css).258 259## 7. Components260 261Every component reads only variables from section 10, so light and dark mode work with no extra code. These are the exact rules (also in `https://freedesignmd.com/system/null-grid.css`). In React/shadcn projects, put the same declarations on the matching shadcn component variants.262 263### Button264 265```html266<button class="btn btn-primary">Save</button> <!-- btn-secondary · btn-outline · btn-ghost -->267```268 269```css270.btn {271 display: inline-flex;272 align-items: center;273 justify-content: center;274 gap: 8px;275 height: 44px;276 padding: 0 24px;277 font-family: var(--font-display);278 font-size: 14px;279 font-weight: 800;280 letter-spacing: -0.01em;281 border-radius: 0;282 border: 2px solid var(--foreground);283 white-space: nowrap;284 cursor: pointer;285 text-decoration: none;286 transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);287}288.btn-primary {289 background: var(--primary);290 color: var(--primary-foreground);291}292.btn-primary:hover:not(:disabled) {293 background: var(--background);294 color: var(--foreground);295 box-shadow: var(--shadow-md);296 transform: translate(-4px, -4px);297}298.btn-primary:active:not(:disabled) {299 transform: translate(0, 0);300 box-shadow: none;301}302.btn-secondary {303 background: var(--secondary);304 color: var(--secondary-foreground);305}306.btn-secondary:hover:not(:disabled) {307 background: var(--foreground);308 color: var(--background);309}310.btn-secondary:active:not(:disabled) {311 background: var(--muted);312 color: var(--foreground);313}314.btn-outline {315 background: transparent;316 color: var(--foreground);317}318.btn-outline:hover:not(:disabled) {319 background: var(--foreground);320 color: var(--background);321}322.btn-outline:active:not(:disabled) {323 background: var(--secondary);324 color: var(--foreground);325}326.btn-ghost {327 background: transparent;328 color: var(--foreground);329 border-color: transparent;330 text-decoration: underline;331 text-underline-offset: 4px;332}333.btn-ghost:hover:not(:disabled) {334 background: var(--foreground);335 color: var(--background);336}337.btn-ghost:active:not(:disabled) {338 background: var(--secondary);339 color: var(--foreground);340}341.btn:focus-visible {342 outline: 4px solid var(--ring);343 outline-offset: 3px;344}345.btn:disabled, .btn[aria-disabled="true"] {346 opacity: 0.35;347 cursor: not-allowed;348 box-shadow: none;349}350```351 352### Input353 354```html355<input class="input" placeholder="you@company.com" /> <!-- aria-invalid="true" for errors -->356```357 358```css359.input {360 display: block;361 width: 100%;362 height: 44px;363 padding: 0 12px;364 font-family: var(--font-mono);365 font-size: 14px;366 color: var(--foreground);367 background: var(--background);368 border: 2px solid var(--input);369 border-radius: 0;370 outline: none;371 transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard);372}373.input::placeholder {374 color: var(--muted-foreground);375 opacity: 1;376}377.input:hover:not(:disabled):not(:focus) {378 border-color: var(--foreground);379}380.input:focus, .input:focus-visible {381 box-shadow: var(--shadow-md);382 transform: translate(-2px, -2px);383}384.input[aria-invalid="true"] {385 border-color: var(--destructive);386 box-shadow: 0 0 0 3px color-mix(in oklab, var(--destructive) 22%, transparent);387}388.input:disabled {389 opacity: 0.5;390 cursor: not-allowed;391 background: var(--muted);392}393```394 395### Card396 397```html398<article class="card">…</article> <!-- add card-interactive when the whole card is a link -->399```400 401```css402.card {403 background: var(--card);404 color: var(--card-foreground);405 border: 2px solid var(--border);406 border-radius: 0;407 box-shadow: none;408 padding: 24px;409 transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out), background-color var(--duration-base) var(--ease-out);410}411.card-interactive:hover {412 background: var(--foreground);413 color: var(--background);414}415```416 417### Badge418 419```html420<span class="badge badge-soft" data-tone="success">Paid</span> <!-- badge-solid · badge-outline; tones: primary (default) · success · warning · destructive -->421```422 423```css424.badge {425 --tone: var(--primary);426 --tone-foreground: var(--primary-foreground);427 display: inline-flex;428 align-items: center;429 gap: 6px;430 height: 22px;431 padding: 0 8px;432 border-radius: 0;433 font-family: var(--font-mono);434 font-size: 11px;435 font-weight: 500;436 letter-spacing: 0.06em;437 text-transform: uppercase;438 line-height: 1;439 white-space: nowrap;440}441.badge[data-tone="success"] {442 --tone: var(--success);443 --tone-foreground: var(--success-foreground);444}445.badge[data-tone="warning"] {446 --tone: var(--warning);447 --tone-foreground: var(--warning-foreground);448}449.badge[data-tone="destructive"] {450 --tone: var(--destructive);451 --tone-foreground: var(--destructive-foreground);452}453.badge-solid {454 background: var(--tone);455 color: var(--tone-foreground);456 border: 1px solid var(--tone);457}458.badge-soft {459 background: color-mix(in oklab, var(--tone) 10%, var(--card));460 color: var(--foreground);461 border: 1px solid color-mix(in oklab, var(--tone) 26%, transparent);462}463.badge-outline {464 background: transparent;465 color: var(--foreground);466 border: 1px solid var(--border);467}468```469 470### Navigation bar471 472```html473<nav class="nav"><a class="nav-link" aria-current="page">Home</a><a class="nav-link">Docs</a></nav>474```475 476```css477.nav {478 display: flex;479 align-items: center;480 gap: 4px;481 height: 56px;482 padding: 0 24px;483 background: var(--background);484 border-bottom: 2px solid var(--border);485}486.nav-link {487 padding: 6px 12px;488 border-radius: 0;489 font-family: var(--font-sans);490 font-size: 13px;491 font-weight: 800;492 letter-spacing: 0.02em;493 text-transform: uppercase;494 color: var(--muted-foreground);495 text-decoration: none;496 transition: color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);497}498.nav-link:hover {499 color: var(--primary-foreground);500 background: var(--primary);501}502.nav-link[aria-current="page"] {503 color: var(--background);504 background: var(--foreground);505}506```507 508### Tabs509 510```html511<div class="tabs" role="tablist"><button class="tab" role="tab" aria-selected="true">Overview</button>…</div>512```513 514```css515.tabs {516 display: flex;517 gap: 8px;518}519.tab {520 height: 40px;521 padding: 0 16px;522 border: 2px solid var(--foreground);523 border-radius: 0;524 background: var(--card);525 color: var(--foreground);526 cursor: pointer;527 font-family: var(--font-sans);528 font-size: 13px;529 font-weight: 800;530 letter-spacing: 0.02em;531 text-transform: uppercase;532 transition: color var(--duration-base) var(--ease-standard), background-color var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);533}534.tab:hover:not([aria-selected="true"]) {535 background: var(--accent);536 color: var(--accent-foreground);537}538.tab[aria-selected="true"] {539 background: var(--foreground);540 color: var(--background);541 box-shadow: 4px 4px 0 var(--primary);542}543```544 545### Table546 547```html548<table class="table"><thead><tr><th>…</th></tr></thead><tbody><tr><td>…</td></tr></tbody></table>549```550 551```css552.table {553 width: 100%;554 border-collapse: collapse;555 font-size: 13px;556 font-variant-numeric: tabular-nums;557}558.table th {559 text-align: left;560 height: 40px;561 padding: 0 16px;562 font-family: var(--font-mono);563 font-size: 11px;564 font-weight: 500;565 text-transform: uppercase;566 letter-spacing: 0.06em;567 background: var(--foreground);568 color: var(--background);569}570.table td {571 height: 44px;572 padding: 0 16px;573 border-bottom: 2px solid var(--border);574 color: var(--foreground);575 transition: background-color var(--duration-fast) var(--ease-standard);576}577.table tbody tr:hover td {578 background: var(--accent);579 color: var(--accent-foreground);580}581```582 583### Dialog / modal584 585```html586<div class="dialog-overlay"><div class="dialog" role="dialog" aria-modal="true">…</div></div>587```588 589```css590.dialog-overlay {591 position: fixed;592 inset: 0;593 background: rgba(0,0,0,0.7);594 display: grid;595 place-items: center;596 padding: 24px;597}598.dialog {599 width: min(560px, 100%);600 background: var(--card);601 color: var(--card-foreground);602 border: 2px solid var(--border);603 border-radius: 0;604 box-shadow: var(--shadow-lg);605 padding: 32px;606}607```608 609### Text link610 611```html612<a class="link" href="…">Read more</a>613```614 615```css616.link {617 color: var(--foreground);618 text-decoration: underline;619 text-decoration-color: var(--foreground);620 text-decoration-thickness: 2px;621 text-underline-offset: 4px;622 transition: color var(--duration-fast) var(--ease-standard), text-decoration-color var(--duration-fast) var(--ease-standard);623}624.link:hover {625 background: var(--foreground);626 color: var(--background);627}628```629 630## 8. Imagery & iconography631 632**Imagery.** Diagrams and data only: topology maps drawn in 2px black lines, large numerals, and raw monochrome photography of racks, cabling and concrete with high contrast and visible grain. No color photography, no illustration.633 634**Icons.** 20px geometric icons at 2px stroke with square caps and mitered joins, solid `foreground`. Status is a filled 8px square, never a circle.635 636## 9. Do / Don't637 638**Do**639 640- Expose the grid with 2px rules and keep cells touching641- Set numerals at display size in Azeret Mono and align them to the cell's bottom-right642- Invert a cell (black fill, white text) to mark the active item643- Use `destructive` only for faults, as a square marker plus the word644- Keep every corner at zero radius645 646**Don't**647 648- Don't add gradients, blur or soft shadows; the only shadow is a hard 4px offset649- Don't use more than one accent color; red is for faults only650- Don't center headlines; set them flush left on a column edge651- Don't use transitions longer than 200ms; prefer instant cuts652- Don't use rounded avatars or pill badges653 654## 10. tokens.css655 656Drop-in, shadcn/ui-compatible. Works with Tailwind v4 as-is (the `@theme inline` block creates `bg-primary`, `text-muted-foreground`, `font-heading`, `text-display`, `rounded-ui-lg`, `shadow-ui-md`…). Plain CSS projects can ignore the `@theme` block.657 658```css659/* Null Grid, tokens.css660 * https://freedesignmd.com/system/null-grid661 * shadcn/ui-compatible variables. Light on :root, dark on .dark.662 * Default mode: light.663 */664@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;800&family=Azeret+Mono:wght@400;500;700&display=swap");665 666:root {667 --font-display: "Archivo", ui-sans-serif, system-ui, -apple-system, sans-serif;668 --font-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, sans-serif;669 --font-mono: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, monospace;670 --type-display-size: clamp(63px, 44.80px + 4.667vw, 112px);671 --type-display-leading: 0.88;672 --type-display-weight: 800;673 --type-display-tracking: -0.05em;674 --type-h1-size: clamp(44px, 36.57px + 1.905vw, 64px);675 --type-h1-leading: 0.94;676 --type-h1-weight: 800;677 --type-h1-tracking: -0.04em;678 --type-h2-size: clamp(26px, 23.77px + 0.571vw, 32px);679 --type-h2-leading: 1.05;680 --type-h2-weight: 800;681 --type-h2-tracking: -0.025em;682 --type-h3-size: 18px;683 --type-h3-leading: 1.25;684 --type-h3-weight: 600;685 --type-h3-tracking: -0.01em;686 --type-body-size: 16px;687 --type-body-leading: 1.5;688 --type-body-weight: 400;689 --type-body-tracking: -0.005em;690 --type-small-size: 14px;691 --type-small-leading: 1.45;692 --type-small-weight: 400;693 --type-small-tracking: 0em;694 --type-label-size: 11px;695 --type-label-leading: 1.3;696 --type-label-weight: 500;697 --type-label-tracking: 0.06em;698 --type-mono-size: 13px;699 --type-mono-leading: 1.5;700 --type-mono-weight: 400;701 --type-mono-tracking: 0em;702 --space-1: 4px;703 --space-2: 8px;704 --space-4: 16px;705 --space-6: 24px;706 --space-8: 32px;707 --space-12: 48px;708 --space-16: 64px;709 --space-24: 96px;710 --space-32: 128px;711 --radius: 0px;712 --radius-sm: 0px;713 --radius-md: 0px;714 --radius-lg: 0px;715 --radius-xl: 0px;716 --radius-full: 9999px;717 --duration-instant: 0ms;718 --duration-fast: 80ms;719 --duration-base: 120ms;720 --duration-slow: 200ms;721 --ease-standard: linear;722 --ease-out: cubic-bezier(0, 0, 0.2, 1);723 --ease-in: cubic-bezier(0.8, 0, 1, 1);724 --reveal-distance: 0px;725 --reveal-stagger: 0ms;726 --container-max: 1280px;727 --gutter: 0px;728 --section-y: 0px;729 --section-y-mobile: 0px;730 --measure: 58ch;731 --background: #ffffff;732 --foreground: #000000;733 --card: #ffffff;734 --card-foreground: #000000;735 --muted: #f0f0f0;736 --muted-foreground: #505050;737 --primary: #000000;738 --primary-foreground: #ffffff;739 --secondary: #e4e4e4;740 --secondary-foreground: #000000;741 --accent: #000000;742 --accent-foreground: #ffffff;743 --border: rgba(0,0,0,1);744 --input: rgba(0,0,0,1);745 --ring: #000000;746 --destructive: #d40000;747 --destructive-foreground: #ffffff;748 --success: #006b2e;749 --success-foreground: #ffffff;750 --warning: #ffd400;751 --warning-foreground: #000000;752 --chart-1: #000000;753 --chart-2: #d40000;754 --chart-3: #767676;755 --chart-4: #006b2e;756 --chart-5: #b0b0b0;757 --shadow-sm: none;758 --shadow-md: 4px 4px 0 #000000;759 --shadow-lg: 8px 8px 0 #000000;760}761 762.dark {763 --background: #000000;764 --foreground: #ffffff;765 --card: #000000;766 --card-foreground: #ffffff;767 --muted: #141414;768 --muted-foreground: #a8a8a8;769 --primary: #ffffff;770 --primary-foreground: #000000;771 --secondary: #1e1e1e;772 --secondary-foreground: #ffffff;773 --accent: #ffffff;774 --accent-foreground: #000000;775 --border: rgba(255,255,255,1);776 --input: rgba(255,255,255,1);777 --ring: #ffffff;778 --destructive: #ff4d4d;779 --destructive-foreground: #000000;780 --success: #3ddc84;781 --success-foreground: #000000;782 --warning: #ffd400;783 --warning-foreground: #000000;784 --chart-1: #ffffff;785 --chart-2: #ff4d4d;786 --chart-3: #8a8a8a;787 --chart-4: #3ddc84;788 --chart-5: #4d4d4d;789 --shadow-sm: none;790 --shadow-md: 4px 4px 0 #ffffff;791 --shadow-lg: 8px 8px 0 #ffffff;792}793 794/* Tailwind v4: utilities like bg-primary, text-muted-foreground, font-heading, text-display, rounded-ui-lg, shadow-ui-md */795@theme inline {796 --color-background: var(--background);797 --color-foreground: var(--foreground);798 --color-card: var(--card);799 --color-card-foreground: var(--card-foreground);800 --color-muted: var(--muted);801 --color-muted-foreground: var(--muted-foreground);802 --color-primary: var(--primary);803 --color-primary-foreground: var(--primary-foreground);804 --color-secondary: var(--secondary);805 --color-secondary-foreground: var(--secondary-foreground);806 --color-accent: var(--accent);807 --color-accent-foreground: var(--accent-foreground);808 --color-border: var(--border);809 --color-input: var(--input);810 --color-ring: var(--ring);811 --color-destructive: var(--destructive);812 --color-destructive-foreground: var(--destructive-foreground);813 --color-success: var(--success);814 --color-success-foreground: var(--success-foreground);815 --color-warning: var(--warning);816 --color-warning-foreground: var(--warning-foreground);817 --color-chart-1: var(--chart-1);818 --color-chart-2: var(--chart-2);819 --color-chart-3: var(--chart-3);820 --color-chart-4: var(--chart-4);821 --color-chart-5: var(--chart-5);822 --font-heading: var(--font-display);823 --font-body: var(--font-sans);824 --font-code: var(--font-mono);825 --radius-ui-sm: var(--radius-sm);826 --radius-ui-md: var(--radius-md);827 --radius-ui-lg: var(--radius-lg);828 --radius-ui-xl: var(--radius-xl);829 --text-display: var(--type-display-size);830 --text-display--line-height: var(--type-display-leading);831 --text-display--letter-spacing: var(--type-display-tracking);832 --text-display--font-weight: var(--type-display-weight);833 --text-h1: var(--type-h1-size);834 --text-h1--line-height: var(--type-h1-leading);835 --text-h1--letter-spacing: var(--type-h1-tracking);836 --text-h1--font-weight: var(--type-h1-weight);837 --text-h2: var(--type-h2-size);838 --text-h2--line-height: var(--type-h2-leading);839 --text-h2--letter-spacing: var(--type-h2-tracking);840 --text-h2--font-weight: var(--type-h2-weight);841 --text-h3: var(--type-h3-size);842 --text-h3--line-height: var(--type-h3-leading);843 --text-h3--letter-spacing: var(--type-h3-tracking);844 --text-h3--font-weight: var(--type-h3-weight);845 --text-body: var(--type-body-size);846 --text-body--line-height: var(--type-body-leading);847 --text-body--letter-spacing: var(--type-body-tracking);848 --text-body--font-weight: var(--type-body-weight);849 --text-small: var(--type-small-size);850 --text-small--line-height: var(--type-small-leading);851 --text-small--letter-spacing: var(--type-small-tracking);852 --text-small--font-weight: var(--type-small-weight);853 --text-label: var(--type-label-size);854 --text-label--line-height: var(--type-label-leading);855 --text-label--letter-spacing: var(--type-label-tracking);856 --text-label--font-weight: var(--type-label-weight);857 --text-mono: var(--type-mono-size);858 --text-mono--line-height: var(--type-mono-leading);859 --text-mono--letter-spacing: var(--type-mono-tracking);860 --text-mono--font-weight: var(--type-mono-weight);861 --shadow-ui-sm: var(--shadow-sm);862 --shadow-ui-md: var(--shadow-md);863 --shadow-ui-lg: var(--shadow-lg);864}865 866@layer base {867 body {868 background: var(--background);869 color: var(--foreground);870 font-family: var(--font-sans);871 font-size: var(--type-body-size);872 line-height: var(--type-body-leading);873 font-weight: var(--type-body-weight);874 letter-spacing: var(--type-body-tracking);875 -webkit-font-smoothing: antialiased;876 }877 .type-display {878 font-family: var(--font-display);879 font-size: var(--type-display-size);880 line-height: var(--type-display-leading);881 font-weight: var(--type-display-weight);882 letter-spacing: var(--type-display-tracking);883 }884 .type-h1 {885 font-family: var(--font-display);886 font-size: var(--type-h1-size);887 line-height: var(--type-h1-leading);888 font-weight: var(--type-h1-weight);889 letter-spacing: var(--type-h1-tracking);890 }891 .type-h2 {892 font-family: var(--font-display);893 font-size: var(--type-h2-size);894 line-height: var(--type-h2-leading);895 font-weight: var(--type-h2-weight);896 letter-spacing: var(--type-h2-tracking);897 }898 .type-h3 {899 font-family: var(--font-display);900 font-size: var(--type-h3-size);901 line-height: var(--type-h3-leading);902 font-weight: var(--type-h3-weight);903 letter-spacing: var(--type-h3-tracking);904 }905 .type-body {906 font-family: var(--font-sans);907 font-size: var(--type-body-size);908 line-height: var(--type-body-leading);909 font-weight: var(--type-body-weight);910 letter-spacing: var(--type-body-tracking);911 }912 .type-small {913 font-family: var(--font-sans);914 font-size: var(--type-small-size);915 line-height: var(--type-small-leading);916 font-weight: var(--type-small-weight);917 letter-spacing: var(--type-small-tracking);918 }919 .type-label {920 font-family: var(--font-mono);921 font-size: var(--type-label-size);922 line-height: var(--type-label-leading);923 font-weight: var(--type-label-weight);924 letter-spacing: var(--type-label-tracking);925 text-transform: uppercase;926 }927 .type-mono {928 font-family: var(--font-mono);929 font-size: var(--type-mono-size);930 line-height: var(--type-mono-leading);931 font-weight: var(--type-mono-weight);932 letter-spacing: var(--type-mono-tracking);933 }934 h1 {935 font-family: var(--font-display);936 font-size: var(--type-h1-size);937 line-height: var(--type-h1-leading);938 font-weight: var(--type-h1-weight);939 letter-spacing: var(--type-h1-tracking);940 }941 h2 {942 font-family: var(--font-display);943 font-size: var(--type-h2-size);944 line-height: var(--type-h2-leading);945 font-weight: var(--type-h2-weight);946 letter-spacing: var(--type-h2-tracking);947 }948 h3 {949 font-family: var(--font-display);950 font-size: var(--type-h3-size);951 line-height: var(--type-h3-leading);952 font-weight: var(--type-h3-weight);953 letter-spacing: var(--type-h3-tracking);954 }955 code, kbd, samp, pre {956 font-family: var(--font-mono);957 }958 ::selection {959 background: var(--primary);960 color: var(--primary-foreground);961 }962 .container {963 width: 100%;964 max-width: var(--container-max);965 margin-inline: auto;966 padding-inline: var(--gutter);967 }968 .section {969 padding-block: var(--section-y);970 }971 .prose {972 max-width: var(--measure);973 }974 .reveal {975 opacity: 0;976 transform: translateY(var(--reveal-distance));977 transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);978 transition-delay: calc(var(--reveal-index, 0) * var(--reveal-stagger));979 }980 .reveal.is-in {981 opacity: 1;982 transform: none;983 }984 @media (prefers-reduced-motion: reduce) {985 .reveal { opacity: 1; transform: none; transition: none; }986 *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }987 }988}989```990 991Tailwind v3:992 993```js994// tailwind.config.js, Tailwind v3 (v4 users: the @theme block in tokens.css does this)995module.exports = {996 darkMode: "class",997 theme: {998 extend: {999 colors: {1000 "background": "var(--background)",1001 "foreground": "var(--foreground)",1002 "card": { DEFAULT: "var(--card)", foreground: "var(--card-foreground)" },1003 "muted": { DEFAULT: "var(--muted)", foreground: "var(--muted-foreground)" },1004 "primary": { DEFAULT: "var(--primary)", foreground: "var(--primary-foreground)" },1005 "secondary": { DEFAULT: "var(--secondary)", foreground: "var(--secondary-foreground)" },1006 "accent": { DEFAULT: "var(--accent)", foreground: "var(--accent-foreground)" },1007 "border": "var(--border)",1008 "input": "var(--input)",1009 "ring": "var(--ring)",1010 "destructive": { DEFAULT: "var(--destructive)", foreground: "var(--destructive-foreground)" },1011 "success": { DEFAULT: "var(--success)", foreground: "var(--success-foreground)" },1012 "warning": { DEFAULT: "var(--warning)", foreground: "var(--warning-foreground)" },1013 chart: { 1: "var(--chart-1)", 2: "var(--chart-2)", 3: "var(--chart-3)", 4: "var(--chart-4)", 5: "var(--chart-5)" },1014 },1015 fontFamily: { heading: ["var(--font-display)"], body: ["var(--font-sans)"], code: ["var(--font-mono)"] },1016 borderRadius: { "ui-sm": "var(--radius-sm)", "ui-md": "var(--radius-md)", "ui-lg": "var(--radius-lg)", "ui-xl": "var(--radius-xl)" },1017 boxShadow: { "ui-sm": "var(--shadow-sm)", "ui-md": "var(--shadow-md)", "ui-lg": "var(--shadow-lg)" },1018 transitionDuration: { instant: "var(--duration-instant)", fast: "var(--duration-fast)", base: "var(--duration-base)", slow: "var(--duration-slow)" },1019 transitionTimingFunction: { standard: "var(--ease-standard)", out: "var(--ease-out)", in: "var(--ease-in)" },1020 maxWidth: { container: "var(--container-max)", measure: "var(--measure)" },1021 },1022 },1023};1024```1025 1026Dependencies: `lucide-react`Save as DESIGN.md in the repo root and add “Follow DESIGN.md for all UI” to CLAUDE.md, AGENTS.md or your Cursor rules.


