DHK / design system /

Specimen

Every token and component, rendered from the live stylesheet. The written system is at design-system.md.

Colour — surfaces

--bg

Page, cards at rest

--bg2

Elevated panels, code, inputs

--bg3

Hover, inline code

--border

Structure

--border-light

Subdivision

Colour — text

The symptom looks like forgetting.

--text

Headings, strong

The symptom looks like forgetting.

--text-muted

Body copy

The symptom looks like forgetting.

--text-dim

Metadata, chrome

Colour — accents

--accent

Brand, action, link

--accent-hover

Accent hover

--accent-purple

Commentary, tools, graphs

--accent-orange

Trends, projects, errors

--accent-teal

Studies, data viz

Data visualisation
--viz-us
--viz-se
--viz-gb
--viz-fr
--viz-jp
--viz-in
Type scale

Heading one — clamp(42, 5vw, 64) / 700

Heading two — 28 / 600

Heading three — 20 / 600

Body — 16px, weight 400, line-height 1.75. Never weight 300, never mono, never below 11px for UI text. Headings and body share the system-ui stack; there is no custom heading font.

META / DATES — MONO 12PX, 0.04EM
Nav and buttons — mono 11px, 0.1em
Spacing
--sp1
--sp2
--sp3
--sp4
--sp5
--sp6
--sp7
--sp8
--sp9
--sp10
--sp11
Tags
essaycommentarytoolstudyproject
Buttons
Card — hover and focus
essay

Card 1 — hover lifts to bg3

No shadow, no heavy container. A bottom hairline and a surface change.

essay

Card 2 — hover lifts to bg3

No shadow, no heavy container. A bottom hairline and a surface change.

Prompt block
Type this
what do you know about me?
Form controls
Table
SeriesTokenValue
United States--viz-us84.1
Sweden--viz-se83.4
Japan--viz-jp87.2
Empty state

No stance yet.

Add a document to the corpus and this fills in.