Skip to main content

Space and shape

Corners are square everywhere except the editorial hero frame. Shadows are hard offsets, never blurred. Borders are part of the look.

Spacing​

TokenValueUsage
--space-14pxHairline gaps: icon to label inside a tab.
--space-28pxNav tile vertical padding (0.5em), TOC indent step, rail inner padding.
--space-312pxNav tile horizontal padding (0.75em), window body padding on mobile.
--space-416pxGap between top tabs and between stacked nav tiles; card padding.
--space-624pxKeywork global spacing; window body padding; paragraph rhythm.
--space-832pxSection separation in articles.
--space-1248pxEditorial frame inner padding (mobile); hero block gaps.
--space-1664pxDocs content gap between columns; editorial frame inner padding (desktop).

Radius​

TokenValueUsage
--radius-none0Default for ALL desktop chrome and documentation controls (Keywork --ifm-global-radius: 0).
--radius-tag2pxDoc tags/kind badges only.
--radius-editorial-sm32pxEditorial outer frame below 720px.
--radius-editorial72pxEditorial outer hero frame only. Never on cards, buttons or docs panels.

Shadow​

Pressed states swap to the -pressed token and translate the control by (-4px, 6px) so it reads as a key going down.

TokenValueUsage
--shadow-tile-6px 9px 0 #f6a6acDocs-rail nav tiles: short hard pink offset (Keywork -6px 9px 0).
--shadow-tile-pressed-2px 3px 0 #f6a6acNav tile :active — shadow collapses to read as a physical key press.
--shadow-utility-6px 9px 0 rgba(0, 0, 0, 0.1)Top tabs, TOC panel, code blocks on paper (Keywork --nirrius-shadow).
--shadow-utility-pressed-2px 3px 0 rgba(0, 0, 0, 0.1)Pressed tabs and utility buttons.
--shadow-primary-6px 9px 0 #00a5f5Primary/search button: electric-cyan hard offset.
--shadow-window7px 7px 0 rgba(55, 61, 64, 0.12)Desktop windows and system cards: restrained charcoal offset.
--shadow-pane-5px 6px 0 rgba(0, 0, 0, 0.1)Desktop windows (Nirrius pane shadow). Drops to none while dragging or maximised.

Border width​

TokenValueUsage
--border-hair1pxTiles, tabs, callouts, metadata rules, window inner frame.
--border-code3pxCode block frame (color-code-frame).
--border-panel4pxTOC and utility panel heavy perimeter (color-frame-gray).
--border-rail5pxDocs left-rail right edge (color-pink-rule).

Layout​

TokenValueUsage
--layout-rail320pxDocs left rail and right TOC width (Keywork 20rem).
--layout-page-max1440pxMax docs page width.
--layout-measure72chProse measure in the docs centre column.
--layout-window-max640pxMax width of a desktop content window.

Opacity​

TokenValueUsage
--opacity-watermark0.75Diagonal wordmark watermark layer over color-paper-pink (Keywork backgrounds.css).
--opacity-scanline0.05Scanline stripe alpha (2px period, 45% grey). Panels and rails only, never under body copy.