v0.9.0
design / Tokens: the ten colors

Tokens: the ten colors

Code is highlighted by Shiki in its css-variables mode: the highlighter names the

v0.9.0 02 / 09 1 min read docs/DESIGN.md
TokenUsed forExample (blueprint)
--bgpage background#050912
--panelcode frames, inputs, hover fills, key caps#0a1222
--hatchthe hatched margin, the footer mark#0b1527
--lineblock separation, grids#131f36
--line-2frames, inputs, crosshairs, key-cap borders#22365b
--dimcaptions, hints, secondary text#6f86ab
--fg-2body text, prose#a3b5d3
--fgheadings and emphasis#e8f0fd
--accentmarks, the active state, primary buttons, keywords in code#6cb4ff
--inktext on an accent fill#050912

Code is highlighted by Shiki in its css-variables mode: the highlighter names the kind of each token and tokens.css paints them with the active palette (keywords and constants in the accent, strings and functions in the foreground, comments dim), so a code block is monochrome in every theme with no overrides.