DecidrHolon Design Kit

Resources

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

Colour

TokenValueUse
--ink#0A0A0AText and glyph ink
--card#F7F8F8Card Grey surface
--paper#FFFFFFPage
--hair#EEF0F00.5px hairline
--violet#8E57FBFills, lines and active states only
--violet-text#6D3CE6Purple text
--violet-wash#EEE8FFThe person's chat bubble
--goal-green#11A969Goal status: green
--goal-orange#ECB206Goal status: orange
--goal-red#FF3234Goal status: red
--goal-grey#B9BEBEGoal 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

Neutral status Selected Green Orange Red Grey Primary action
HTML
<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

TokenValueUse
--r-control8pxButtons, chips, inputs
--r-surface14pxCards, chat bubbles
--r-overlay18pxPanes 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

RoleSizeWeight
Page title40px600
Section heading26px600
Body16px400
Card title16px600
Small and captions13px400 or 500
Chat composer16px or more400

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

TokenValueUse
--dot7pxStatus dot, always beside its word
Hairline0.5pxDividers and control borders
Glyph28px in a pane header, 40px in a galleryLevel 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