Skip to content
Inspireca Design

Design Skill · Developer tools

Terminal Dark

A dark, dense style for technical products: near-black panels, monospaced labels, hairline borders and a single green signal colour.

Download
Source:
Inspireca Design original
Scheme:
Dark only
Typeface:
JetBrains Mono

Written by Inspireca Design (drafted with AI assistance)Updated Not yet reviewed by an editor

Overview

  • Sample page

  • Forms and data

  • On a phone

Three views of one sample page, drawn live from this style’s tokens. They are not screenshots of a website. Open any of them to see it full size.

A tool, not a brochure. Information density is a feature, and the interface borrows the calm of a terminal: dark, quiet, exact. Depth comes from slightly lighter panels and hairlines, never from shadows.

This is an original style written for Inspireca Design. It does not describe or reproduce any existing website. Every value on this page was chosen for this style.

Good for

  • Developer tools, dashboards and consoles
  • Monitoring and log viewers
  • API documentation
  • AI and data products for technical users

Colours

Three near-black layers, one green signal. Green means active, selected or go. Blue is for links. Amber and red appear only in status output. Never use green as a decorative background.

BrandThe colours that carry identity and action.

  • Signal greenprimary

    Primary actions, the cursor, active states.

    Original value

  • On greenon-primary

    Text on the signal green.

    Original value

  • Link blueaccent

    Links and informational highlights.

    Original value

NeutralPages, surfaces, text and lines.

  • Voidbackground

    The application background.

    Original value

  • Panelsurface

    Panels, cards, code blocks and menus.

    Original value

  • Raised panelsurface-raised

    Hovered rows, selected items, inputs.

    Original value

  • Phosphor whitetext

    Primary text.

    Original value

  • Dimtext-muted

    Labels, metadata, placeholder text.

    Original value

  • Gridlineborder

    Hairlines between panels and around inputs.

    Original value

SemanticColours that mean something: success, warning, error.

  • Passsuccess

    Passing checks and success output.

    Original value

  • Cautionwarning

    Warnings and pending states.

    Original value

  • Faildanger

    Errors and failing checks.

    Original value

Text contrastCalculated from the values above with the WCAG formula. Normal text needs 4.5:1.

  • text on background16.2:1 passes AA and AAA
  • text on surface15.1:1 passes AA and AAA
  • text-muted on background7.8:1 passes AA and AAA
  • on-primary on primary10.7:1 passes AA and AAA

Components

Each one is drawn from this style’s own tokens, not from Inspireca Design’s. Under each: how it looks and behaves, the tokens it uses, and the CSS that drew it.

  • Primary button

    Actions

    40px tall, 14px side padding, radius 4px, filled with primary and labelled in on-primary, weight 500. Hover brightens the fill slightly; pressed darkens it. Focus shows a 2px blue ring with a 2px gap in the background colour.

    Tokens

    CSS for this example
    .button-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: var(--control-height);
      padding: 0 14px;
      border-radius: var(--control-radius);
      white-space: nowrap;
      font-family: var(--font-body);
      font-size: 0.875rem;
      font-weight: 500;
      background: var(--color-primary);
      color: var(--color-on-primary);
      border: var(--border-width) solid var(--color-primary);
    }

    Works with this style’s CSS variables file, in the DESIGN.md section.

  • Secondary button

    Actions

    Same size as the primary button. Transparent background, 1px border in the border colour, text in the text colour. Hover fills it with the surface colour. Never place two primary buttons side by side; the second action is always this one.

    Tokens

    CSS for this example
    .button-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: var(--control-height);
      padding: 0 14px;
      border-radius: var(--control-radius);
      white-space: nowrap;
      font-family: var(--font-body);
      font-size: 0.875rem;
      font-weight: 500;
      background: transparent;
      color: var(--color-text);
      border: var(--border-width) solid var(--color-border);
    }

    Works with this style’s CSS variables file, in the DESIGN.md section.

  • Text input

    Forms

    40px tall, filled style, radius 4px, label above in the small size. Focus changes the border to the primary colour and adds a visible ring. Errors show the danger colour, an icon and a sentence under the field.

    Tokens

    CSS for this example
    .field-label {
      display: block;
      margin-bottom: 6px;
      font-family: var(--font-body);
      font-size: var(--text-small);
      line-height: var(--leading-small);
      letter-spacing: var(--tracking-small);
      font-weight: 500;
      color: var(--color-text);
    }
    
    .field {
      display: flex;
      align-items: center;
      width: 100%;
      height: var(--control-height);
      font-family: var(--font-body);
      font-size: 0.9375rem;
      color: var(--color-text);
      padding: 0 14px;
      background: var(--color-surface-raised);
      border: var(--border-width) solid var(--color-border);
      border-radius: var(--control-radius);
    }
    
    .field::placeholder {
      color: var(--color-text-muted);
    }

    Works with this style’s CSS variables file, in the DESIGN.md section.

  • Tabs

    Navigation

    A row of text labels, 40px tall. The selected tab has a 2px line in the primary colour under it. Arrow keys move between tabs. The line moves to the selected tab; nothing else on the page shifts.

    Tokens

    CSS for this example
    .tabs {
      display: flex;
      gap: 24px;
      border-bottom: var(--border-width) solid var(--color-border);
    }
    
    .tab {
      font-family: var(--font-body);
      font-size: var(--text-small);
      line-height: var(--leading-small);
      letter-spacing: var(--tracking-small);
      font-weight: 500;
      padding: 10px 0;
      color: var(--color-text-muted);
      border-bottom: 2px solid transparent;
      margin-bottom: calc(var(--border-width) * -1);
    }
    
    .tab[aria-selected="true"] {
      color: var(--color-text);
      border-bottom-color: var(--color-primary);
    }

    Works with this style’s CSS variables file, in the DESIGN.md section.

  • Navigation bar

    Navigation

    Full width, 60px tall, background colour with a 1px bottom border. Logo at the start, links in the body size, one primary button at the end. A fixed top bar 48 to 60px tall, or a fixed sidebar. It never hides on scroll.

    Tokens

    CSS for this example
    .navbar {
      display: flex;
      align-items: center;
      gap: 20px;
      height: calc(var(--control-height) + 1.25rem);
      padding: 0 var(--gutter);
      background: var(--color-background);
      border-bottom: var(--border-width) solid var(--color-border);
    }
    
    .navbar-brand {
      font-family: var(--font-display);
      font-size: 1.125rem;
      font-weight: var(--weight-h3);
      letter-spacing: var(--tracking-h3);
      color: var(--color-text);
    }
    
    .navbar-link {
      font-family: var(--font-body);
      font-size: var(--text-small);
      line-height: var(--leading-small);
      font-weight: var(--weight-small);
      letter-spacing: var(--tracking-small);
      color: var(--color-text-muted);
    }

    Works with this style’s CSS variables file, in the DESIGN.md section. The buttons in this picture are the style's Primary button; their CSS is under Actions.

  • Badge

    Feedback

    Caption size, 4px by 8px padding, radius 2px, surface background with the text colour. Static label. Status badges add a word, never colour alone.

    Tokens

    CSS for this example
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 8px;
      border-radius: var(--radius-sm);
      background: var(--color-surface);
      border: var(--border-width) solid var(--color-border);
      color: var(--color-text);
      font-family: var(--font-body);
      font-size: var(--text-caption);
      line-height: var(--leading-caption);
      font-weight: var(--weight-caption);
      letter-spacing: var(--tracking-caption);
    }
    
    .badge-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--color-text-muted);
    }
    
    .badge[data-status="success"] .badge-dot {
      background: var(--color-success);
    }
    
    .badge[data-status="warning"] .badge-dot {
      background: var(--color-warning);
    }
    
    .badge[data-status="danger"] .badge-dot {
      background: var(--color-danger);
    }

    Works with this style’s CSS variables file, in the DESIGN.md section.

  • Alert

    Feedback

    Surface colour, 16px padding, a 3px line at the start edge in the success, warning or danger colour, with an icon and a title. Appears in place, pushes content down, and is announced to screen readers. Can be dismissed with a labelled button.

    Tokens

    CSS for this example
    .alert {
      background: var(--color-surface);
      border-radius: var(--card-radius);
      border: var(--border-width) solid var(--color-border);
      padding: 1rem;
      border-inline-start: calc(var(--border-width) + 2px) solid var(--color-success);
    }
    
    .alert-title {
      font-family: var(--font-body);
      font-size: var(--text-small);
      line-height: var(--leading-small);
      letter-spacing: var(--tracking-small);
      font-weight: 600;
      color: var(--color-text);
    }
    
    .alert-text {
      font-family: var(--font-body);
      font-size: var(--text-small);
      line-height: var(--leading-small);
      font-weight: var(--weight-small);
      letter-spacing: var(--tracking-small);
      color: var(--color-text-muted);
    }
    
    .alert[data-status="warning"] {
      border-inline-start-color: var(--color-warning);
    }
    
    .alert[data-status="danger"] {
      border-inline-start-color: var(--color-danger);
    }

    Works with this style’s CSS variables file, in the DESIGN.md section.

  • Card

    Surfaces

    Surface colour, radius 4px, 16px padding, 1px border, no shadow. Panels do not move. A clickable row takes the raised panel colour on hover and a green line at the start edge when selected.

    Tokens

    CSS for this example
    .card {
      background: var(--color-surface);
      border-radius: var(--card-radius);
      border: var(--border-width) solid var(--color-border);
      padding: var(--card-padding);
    }
    
    .card-eyebrow {
      font-family: var(--font-body);
      font-size: var(--text-caption);
      line-height: var(--leading-caption);
      font-weight: var(--weight-caption);
      letter-spacing: var(--tracking-caption);
      text-transform: uppercase;
      color: var(--color-accent);
    }
    
    .card-title {
      font-family: var(--font-display);
      font-size: var(--text-h3);
      line-height: var(--leading-h3);
      font-weight: var(--weight-h3);
      letter-spacing: var(--tracking-h3);
      margin-top: 8px;
      color: var(--color-text);
    }
    
    .card-text {
      font-family: var(--font-body);
      font-size: var(--text-small);
      line-height: var(--leading-small);
      font-weight: var(--weight-small);
      letter-spacing: var(--tracking-small);
      margin-top: 6px;
      color: var(--color-text-muted);
    }

    Works with this style’s CSS variables file, in the DESIGN.md section.

  • Table

    Surfaces

    Header row in the small size and muted colour, 1px row dividers, 12px cell padding, numbers aligned to the end. Rows highlight with the surface colour on hover. On phones each row becomes a stacked card.

    Tokens

    CSS for this example
    .table {
      border: var(--border-width) solid var(--color-border);
      border-radius: var(--card-radius);
      overflow: hidden;
    }
    
    .table-row {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      padding: 10px 14px;
      border-top: var(--border-width) solid var(--color-border);
      font-family: var(--font-body);
      font-size: var(--text-small);
      line-height: var(--leading-small);
      font-weight: var(--weight-small);
      letter-spacing: var(--tracking-small);
      color: var(--color-text);
    }
    
    .table-head {
      border-top: none;
      background: var(--color-surface);
      color: var(--color-text-muted);
    }
    
    .table-number {
      font-family: var(--font-mono);
      text-align: end;
    }

    Works with this style’s CSS variables file, in the DESIGN.md section.

  • Dialog

    Overlays

    Surface colour, radius 6px, at most 480px wide, 24px padding, the lg shadow. Focus moves inside and is kept there; Escape closes it; focus returns to the button that opened it.

    Tokens

    CSS for this example
    .dialog {
      width: 100%;
      max-width: 30rem;
      padding: var(--card-padding);
      background: var(--color-surface);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
    }
    
    .dialog-title {
      font-family: var(--font-display);
      font-size: var(--text-h3);
      line-height: var(--leading-h3);
      font-weight: var(--weight-h3);
      letter-spacing: var(--tracking-h3);
      color: var(--color-text);
    }
    
    .dialog-text {
      font-family: var(--font-body);
      font-size: var(--text-small);
      line-height: var(--leading-small);
      font-weight: var(--weight-small);
      letter-spacing: var(--tracking-small);
      margin-top: 8px;
      color: var(--color-text-muted);
    }
    
    .dialog-actions {
      display: flex;
      justify-content: flex-end;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 24px;
    }

    Works with this style’s CSS variables file, in the DESIGN.md section. The buttons in this picture are the style's Secondary and Primary button; their CSS is under Actions.

The examples show each component at rest. Hover, focus and pressed states are described in words above, because the style stores them as sentences, not as values that can be drawn. Motion: Instant feedback matters more than animation. State changes take 80ms. Avoid easing curves that bounce or overshoot; they look wrong in a precise tool. Durations 80ms and 160ms, easing ease-out.

Surfaces

Fixed panels divided by 1px gridlines. Padding is tight, 16px in panels and 8 to 12px in rows. Tables and lists fill their panel edge to edge.

  • Void#0B0F10

  • Panel#12181A

  • Raised panel#1A2326

  • Cardradius 4px · bordered · no shadow

  • Border1px · #243033

Rounded corners0px · 2px · 4px · 6px · 999px

Shadowssm · md · lg

Spacing scale (base 4px)

  • space-12px
  • space-24px
  • space-38px
  • space-412px
  • space-516px
  • space-624px
  • space-732px
  • space-848px
  • space-980px
Content width
1280px
Side gutter
16px
Between sections
80px
Card padding
16px
Border
1px
Control height
40px

Grid: Panels in a fixed layout: a 240px sidebar, a fluid main area and an optional 320px inspector. Inside panels, a 4px grid.

Typography

Monospace for headings, labels, numbers and code makes columns line up and gives the technical voice. A proportional sans is used for sentences, because long text in monospace is tiring.

  • display

    JetBrains Mono

    Shown in the first font of its list that your device has.

    Open licence. In your own project, load it from its publisher; the downloads here do not include font files. Headings are monospaced on purpose.

    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace

  • body

    Inter

    Shown in the first font of its list that your device has.

    Open licence. In your own project, load it from its publisher; the downloads here do not include font files.

    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif

  • mono

    JetBrains Mono

    Shown in the first font of its list that your device has.

    Open licence. In your own project, load it from its publisher; the downloads here do not include font files.

    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace

  • Display display

    Font
    JetBrains Mono
    Weight
    600
    Size
    44px, 32px on phones
    Line height
    1.1
    Letter spacing
    -0.03em

    Plan the work

  • Heading 1 h1

    Font
    JetBrains Mono
    Weight
    600
    Size
    32px, 26px on phones
    Line height
    1.15
    Letter spacing
    -0.02em

    Plan the work

  • Heading 2 h2

    Font
    JetBrains Mono
    Weight
    600
    Size
    22px
    Line height
    1.25
    Letter spacing
    -0.01em

    Plan the work, then work the plan

  • Heading 3 h3

    Font
    JetBrains Mono
    Weight
    600
    Size
    16px
    Line height
    1.35
    Letter spacing
    0

    Plan the work, then work the plan

  • Body body

    Font
    Inter
    Weight
    400
    Size
    14px
    Line height
    1.6
    Letter spacing
    0

    One place for the roadmap, the tasks and the notes your team keeps losing in chat.

  • Small small

    Font
    Inter
    Weight
    400
    Size
    13px
    Line height
    1.5
    Letter spacing
    0

    One place for the roadmap, the tasks and the notes your team keeps losing in chat.

  • Caption caption

    Font
    Inter
    Weight
    500
    Size
    12px
    Line height
    1.4
    Letter spacing
    0.04em

    Release 4.2 · Updated today

Sizes change little: the interface is dense by design. Display drops to 32px on phones. Body stays 14px in the app and should be raised to 16px on marketing pages. On a narrow screen this page shows each step at its phone size where the style gives one.

Guidelines

Brightness is the hierarchy: brightest text for content, dim text for labels, green only for the thing that is active or needs a click. Monospaced upper-case captions label panels.

Do

  • Label panels with small upper-case monospace captions.
  • Separate with 1px gridlines, not gaps of empty space.
  • Keep green for one meaning: active or primary.
  • Align numbers in monospace columns.

Don’t

  • Do not use pure black or pure white.
  • Do not add shadows to panels.
  • Do not set paragraphs in monospace.
  • Do not use more than one accent colour on a screen.

Common mistakes

  • Dimming muted text until it falls below 4.5:1 on the raised panel colour.
  • Making the green button glow, which turns a tool into a poster.
  • Leaving default light-coloured browser form controls in a dark layout.

Accessibility

Phosphor white on Void measures about 16:1 and dim text about 8:1. Passing and failing states always carry a word or a symbol as well as colour, since green and red are the pair most often confused. Controls are 40px tall, the minimum this system allows; use 44px for touch layouts.

On small screens

The sidebar collapses to an icon rail at 1024px and to a drawer below 768px. The inspector becomes a full-screen sheet. Tables scroll sideways inside their panel instead of reflowing.

DESIGN.md

The file to give an AI coding tool: it explains the rules, not just the values. The Tailwind theme, CSS variables and tokens file beside it are generated from the same tokens, so all four always agree.

Download DESIGN.md

Terminal Dark: design system

A dark, dense style for technical products: near-black panels, monospaced labels, hairline borders and a single green signal colour.

Source: https://inspireca.design/design-skills/terminal-dark · Updated 2026-11-22

What this is. An original style written for Inspireca Design. It does not describe any existing website. Follow it as the single source of visual rules for this project. Following it gives a coherent result in this direction; it does not guarantee an exact copy of anything.

Design philosophy

A tool, not a brochure. Information density is a feature, and the interface borrows the calm of a terminal: dark, quiet, exact. Depth comes from slightly lighter panels and hairlines, never from shadows.

Use it for: Developer tools, dashboards and consoles; Monitoring and log viewers; API documentation; AI and data products for technical users.

Scheme: dark only (no second scheme is defined; do not invent one).

Colour system

Three near-black layers, one green signal. Green means active, selected or go. Blue is for links. Amber and red appear only in status output. Never use green as a decorative background.

TokenHexRGBUse
background#0B0F10rgb(11 15 16)The application background.
surface#12181Argb(18 24 26)Panels, cards, code blocks and menus.
surface-raised#1A2326rgb(26 35 38)Hovered rows, selected items, inputs.
text#E6EDEArgb(230 237 234)Primary text.
text-muted#9BA8A3rgb(155 168 163)Labels, metadata, placeholder text.
border#243033rgb(36 48 51)Hairlines between panels and around inputs.
primary#7CE38Brgb(124 227 139)Primary actions, the cursor, active states.
on-primary#06210Crgb(6 33 12)Text on the signal green.
accent#6CB6FFrgb(108 182 255)Links and informational highlights.
success#7CE38Brgb(124 227 139)Passing checks and success output.
warning#E3B341rgb(227 179 65)Warnings and pending states.
danger#FF7B72rgb(255 123 114)Errors and failing checks.

Contrast of the text pairs (WCAG needs 4.5:1 for normal text):

  • text on background: 16.2:1
  • text on surface: 15.1:1
  • text-muted on background: 7.8:1
  • on-primary on primary: 10.7:1

Typography

Monospace for headings, labels, numbers and code makes columns line up and gives the technical voice. A proportional sans is used for sentences, because long text in monospace is tiring.

Families

  • display: JetBrains Mono, stack "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace (open licence; load it yourself). Headings are monospaced on purpose.
  • body: Inter, stack "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif (open licence; load it yourself)
  • mono: JetBrains Mono, stack "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace (open licence; load it yourself)
StepFamilySizeLine heightWeightTracking
displayJetBrains Mono44px (2.75rem), 32px on phones1.1600-0.03em
h1JetBrains Mono32px (2rem), 26px on phones1.15600-0.02em
h2JetBrains Mono22px (1.375rem)1.25600-0.01em
h3JetBrains Mono16px (1rem)1.356000em
bodyInter14px (0.875rem)1.64000em
smallInter13px (0.8125rem)1.54000em
captionInter12px (0.75rem)1.45000.04em

Sizes change little: the interface is dense by design. Display drops to 32px on phones. Body stays 14px in the app and should be raised to 16px on marketing pages.

Spacing and layout

Fixed panels divided by 1px gridlines. Padding is tight, 16px in panels and 8 to 12px in rows. Tables and lists fill their panel edge to edge.

  • Base unit: 4px. Use only these steps: 2, 4, 8, 12, 16, 24, 32, 48, 80 px.
  • Content width: at most 1280px, with 16px side gutters.
  • Space between page sections: 80px. Padding inside cards: 16px.
  • Grid: Panels in a fixed layout: a 240px sidebar, a fluid main area and an optional 320px inspector. Inside panels, a 4px grid.

Radius, borders and shadows

  • Radius: none 0px, sm 2px, md 4px, lg 6px, pill 999px.
  • Controls (buttons, inputs) use md; cards use md.
  • Border width: 1px, colour border.
  • Shadows: sm none; md none; lg 0 0 0 1px #243033, 0 24px 48px rgb(0 0 0 / 0.5).
  • Cards: have a border and no shadow.

Components

Controls are 40px tall with 14px side padding, weight 500. Inputs use the filled style.

Primary button
  • Looks: 40px tall, 14px side padding, radius 4px, filled with primary and labelled in on-primary, weight 500.
  • Behaves: Hover brightens the fill slightly; pressed darkens it. Focus shows a 2px blue ring with a 2px gap in the background colour.
Secondary button
  • Looks: Same size as the primary button. Transparent background, 1px border in the border colour, text in the text colour.
  • Behaves: Hover fills it with the surface colour. Never place two primary buttons side by side; the second action is always this one.
Card
  • Looks: Surface colour, radius 4px, 16px padding, 1px border, no shadow.
  • Behaves: Panels do not move. A clickable row takes the raised panel colour on hover and a green line at the start edge when selected.
Text input
  • Looks: 40px tall, filled style, radius 4px, label above in the small size.
  • Behaves: Focus changes the border to the primary colour and adds a visible ring. Errors show the danger colour, an icon and a sentence under the field.
Tabs
  • Looks: A row of text labels, 40px tall. The selected tab has a 2px line in the primary colour under it.
  • Behaves: Arrow keys move between tabs. The line moves to the selected tab; nothing else on the page shifts.
Navigation bar
  • Looks: Full width, 60px tall, background colour with a 1px bottom border. Logo at the start, links in the body size, one primary button at the end.
  • Behaves: A fixed top bar 48 to 60px tall, or a fixed sidebar. It never hides on scroll.
Badge
  • Looks: Caption size, 4px by 8px padding, radius 2px, surface background with the text colour.
  • Behaves: Static label. Status badges add a word, never colour alone.
Alert
  • Looks: Surface colour, 16px padding, a 3px line at the start edge in the success, warning or danger colour, with an icon and a title.
  • Behaves: Appears in place, pushes content down, and is announced to screen readers. Can be dismissed with a labelled button.
Table
  • Looks: Header row in the small size and muted colour, 1px row dividers, 12px cell padding, numbers aligned to the end.
  • Behaves: Rows highlight with the surface colour on hover. On phones each row becomes a stacked card.
Dialog
  • Looks: Surface colour, radius 6px, at most 480px wide, 24px padding, the lg shadow.
  • Behaves: Focus moves inside and is kept there; Escape closes it; focus returns to the button that opened it.

States and motion

Instant feedback matters more than animation. State changes take 80ms. Avoid easing curves that bounce or overshoot; they look wrong in a precise tool.

  • Durations: 80ms for small feedback, 160ms for larger changes. Easing: ease-out.
  • Fast and functional. Panels appear without sliding. The only repeating motion is a blinking cursor, which stops under reduced motion.
  • Every interactive element needs: default, hover, focus-visible, active, disabled. Forms also need error and success. Lists need empty and loading.
  • Respect prefers-reduced-motion: remove movement, keep the state change.

Responsive rules

The sidebar collapses to an icon rail at 1024px and to a drawer below 768px. The inspector becomes a full-screen sheet. Tables scroll sideways inside their panel instead of reflowing.

Accessibility

Phosphor white on Void measures about 16:1 and dim text about 8:1. Passing and failing states always carry a word or a symbol as well as colour, since green and red are the pair most often confused. Controls are 40px tall, the minimum this system allows; use 44px for touch layouts.

  • Keep every text and background pair at 4.5:1 or better (the pairs above pass).
  • Interactive targets at least 44 by 44 px on touch screens.
  • Never show state by colour alone; add text, an icon or a shape change.
  • A visible focus indicator on everything that can take focus.

Hierarchy

Brightness is the hierarchy: brightest text for content, dim text for labels, green only for the thing that is active or needs a click. Monospaced upper-case captions label panels.

Do and do not

Do

  • Label panels with small upper-case monospace captions.
  • Separate with 1px gridlines, not gaps of empty space.
  • Keep green for one meaning: active or primary.
  • Align numbers in monospace columns.

Do not

  • Do not use pure black or pure white.
  • Do not add shadows to panels.
  • Do not set paragraphs in monospace.
  • Do not use more than one accent colour on a screen.

Common mistakes

  • Dimming muted text until it falls below 4.5:1 on the raised panel colour.
  • Making the green button glow, which turns a tool into a poster.
  • Leaving default light-coloured browser form controls in a dark layout.

Implementation notes

  • Define the tokens once (CSS variables or a Tailwind theme) and use only the tokens. Do not write raw hex values or one-off sizes in components.
  • Build the components listed above first, then compose pages from them.
  • If something is not specified here, choose the option closest to the existing rules and say what you assumed.
  • Fonts are named, not supplied. Load them from their owner under their licence, or use the fallback stack.

Consistency checklist

  • Only colours from the table are used.
  • Every gap is one of: 2, 4, 8, 12, 16, 24, 32, 48, 80 px.
  • Text sizes come only from the type scale (7 steps).
  • Controls are 40px tall and share one radius; cards share one radius.
  • One primary action per view.
  • All states exist for every interactive component.
  • Text contrast is at least 4.5:1; targets are at least 44 px.
  • Layout works at 360 px wide without sideways scrolling.
  • Motion is switched off for people who ask for reduced motion.

Following DESIGN.md gives a coherent result in this direction. It does not guarantee a pixel-exact copy of anything.

How to use it with Claude Code, Codex or Cursor

Download DESIGN.md, put it in your project, and tell the tool to follow it. There is no one-click connection: you place the file yourself.

  1. Claude Code

    Save DESIGN.md in the project root. In CLAUDE.md, add a line that imports it:

    @DESIGN.md
    
    Follow DESIGN.md for every interface change. Use only its tokens.

    Claude Code loads CLAUDE.md at the start of each session, and a line beginning with @ pulls that file in with it.

  2. OpenAI Codex

    Save DESIGN.md in the project root. Codex reads AGENTS.md before it starts work, so point to the file from there:

    ## Design
    Before any UI work, read DESIGN.md in the project root and follow it. Use only its tokens.

    Codex stops reading instruction files after about 32 KB in total, so link to DESIGN.md rather than pasting it in.

  3. Cursor

    Save the file as .cursor/rules/design.mdc with this at the top, then the content of DESIGN.md below it:

    ---
    description: Visual design rules for this project
    alwaysApply: true
    ---

    Cursor only reads .mdc files in .cursor/rules; a plain .md file there is ignored.

  • Then ask for something concrete: “Build the pricing page following DESIGN.md. List anything DESIGN.md does not cover and what you assumed.”
  • For the values themselves add the Tailwind theme or the CSS variables file to your stylesheet, so the tool uses tokens instead of retyping colours.
  • Limits: the tool can still drift on long tasks; ask it to check its work against the consistency checklist at the end of DESIGN.md. Fonts are named, not included. Placement rules were checked against each tool’s documentation on 22 November 2026 and may change.