Operational Notes
Document density is for READMEs, generated docs, legal text, and longer platform explanations.
- Headings carry rhythm and an adjustable identity mark.
- Inline
tokensand links stay readable.
The approval surface for Triform's visual language: typography, spacing, color, surfaces, motion, prose, and accessibility. Every component should prove itself here before it moves into the platform.
New primitives become real here first: documented, token-backed, responsive, accessible, and reviewable outside workspace state.
Fonts, spacing, color, radius, elevation, motion, and focus states must resolve through the shared token families below.
The platform should consume approved primitives instead of copying one-off CSS from product surfaces back into the design system.
Identity details such as the heading accent stay configurable, so we can tune the language without rewriting every caller.
The 16 brand colors that compose every Triform surface. Identity hues map elements to channels (data, structure, compute, …); signal hues drive status indicators; text hues form the type hierarchy.
The canonical spacing scale. Each --spacing-* token resolves to a multiple of the 4px grid. The bar widths below show the relative sizes — visual ratio is the spec.
Seven type sizes — every body and heading lands on this scale.
Three independent axes shape the text: weight, line-height, and letter-spacing. Each card shows the available steps in one axis.
The quick brown fox--font-weight-normal
The quick brown fox--font-weight-medium
The quick brown fox--font-weight-semibold
The quick brown fox--font-weight-bold
Two lines of body text demonstrate vertical rhythm and paragraph density--line-height-none
Two lines of body text demonstrate vertical rhythm and paragraph density--line-height-tight
Two lines of body text demonstrate vertical rhythm and paragraph density--line-height-snug
Two lines of body text demonstrate vertical rhythm and paragraph density--line-height-normal
Two lines of body text demonstrate vertical rhythm and paragraph density--line-height-relaxed
TYPOGRAPHY--letter-spacing-tight
TYPOGRAPHY--letter-spacing-normal
TYPOGRAPHY--letter-spacing-wide
TYPOGRAPHY--letter-spacing-wider
Long-form generated or authored content should use the MarkdownView prose surface. The default heading rule is intentionally quiet; the brand accent is available when the content needs a stronger identity mark.
Document density is for READMEs, generated docs, legal text, and longer platform explanations.
tokens and links stay readable.Panel prose is tighter and avoids decorative heading rules. Use it inside inspectors, drawers, and narrow work surfaces.
Chat density is compact for streaming output, status explanations, and assistant messages.
From hairline (xs) through pill (full). Each swatch applies the same radius to a tile, button, and chip so small-step differences are visible at real component sizes.
Shadows compose elevation. The first four use the active circle color as glow tint; the rest are neutral depth overlays.
Each preset pairs duration with easing. Every row uses the same travel distance; frame marks show the position at shared time ticks so snap, glide, and overshoot stay comparable.
0 / 100 / 200 / 300 / 400ms frame marks
On the canvas, clicking a category island reveals its members in place — the camera stays fixed and the members bloom out from the clicked island's centre. Drilling back out reassembles the category map from the middle. Both directions share one envelope: incoming tiles scale 0.35 → 1 and fade 0 → 1 while translating from the anchor to their resting cell, on the island-open motion preset (the gentle / navigation tier — 400ms). Hover the stage to replay.
Members bloom from the island anchor · --animation-island-open