Design tokens
The colours, radii, type and sizes every holon surface is made from, as CSS and JSON you can download.
Every holon surface uses the same small set of tokens. One surface colour, one purple with one job, low-contrast hairlines and one family of corner radii carry the whole look. Download the tokens and use the names; do not add colours. Brand rules §2 Ruling 37
Best practices
- Use one purple for one job. Fill purple is for active fills, lines and the primary action; purple text uses the darker text purple, because the fill purple fails contrast as small text. Brand rules §2 Ruling 37
- Keep traffic-light colours for goals. Green, orange and red measure a goal against its result range; nothing else on screen uses them. Ruling 23 House note: traffic lights are measurement
- Separate with hairlines and space, not boxes. Half-pixel hairlines, no drop shadows on data, no glows or halos. Brand rules §2 Ruling 28 House note: restrained interface taste
- Use the three radii only. Controls, surfaces and overlays each have one radius, and nothing has capsule ends. Ruling 37 House note: chat direction
- Keep text legible. Legibility beats a literal copy of a design file. Ruling 38
Colour
| Token | Value | Use |
|---|---|---|
--ink | #0A0A0A | Text and glyph ink |
--card | #F7F8F8 | Card Grey surface |
--paper | #FFFFFF | Page |
--hair | #EEF0F0 | 0.5px hairline |
--violet | #8E57FB | Fills, lines and active states only |
--violet-text | #6D3CE6 | Purple text |
--violet-wash | #EEE8FF | The person's chat bubble |
--goal-green | #11A969 | Goal status: green |
--goal-orange | #ECB206 | Goal status: orange |
--goal-red | #FF3234 | Goal status: red |
--goal-grey | #B9BEBE | Goal status: no result yet |
The status colour values come from the brand rules; the grey is the kit's neutral for "no result yet". Brand rules §2
<div class="hx-row">
<span class="hx-chip"><span class="hx-dot"></span>Neutral status</span>
<span class="hx-chip hx-chip-on">Selected</span>
<span class="hx-chip"><span class="hx-dot hx-green"></span>Green</span>
<span class="hx-chip"><span class="hx-dot hx-orange"></span>Orange</span>
<span class="hx-chip"><span class="hx-dot hx-red"></span>Red</span>
<span class="hx-chip"><span class="hx-dot hx-grey"></span>Grey</span>
<span class="hx-btn-primary">Primary action</span>
</div>Radii
| Token | Value | Use |
|---|---|---|
--r-control | 8px | Buttons, chips, inputs |
--r-surface | 14px | Cards, chat bubbles |
--r-overlay | 18px | Panes and overlays |
Ruling 37 House note: chat direction
Type
Noi Grotesk at 400, 500 and 600, from local font files only. The font is licensed: never put the font files in a public bucket, a public repository or a CDN. Brand rules §2 Ruling 37
| Role | Size | Weight |
|---|---|---|
| Page title | 40px | 600 |
| Section heading | 26px | 600 |
| Body | 16px | 400 |
| Card title | 16px | 600 |
| Small and captions | 13px | 400 or 500 |
| Chat composer | 16px or more | 400 |
The composer is never smaller than 16px and is never focused when the page loads, so a phone does not zoom. Ruling 25 Brand rules §2
Sizes
| Token | Value | Use |
|---|---|---|
--dot | 7px | Status dot, always beside its word |
| Hairline | 0.5px | Dividers and control borders |
| Glyph | 28px in a pane header, 40px in a gallery | Level glyph |
A status is a small dot with its word, never a coloured edge stripe on a card or row. Ruling 28 House note: no edge stripes