Select a token by the job it performs. Use --color-bg for the canvas, --color-text for reading, --color-border for quiet divisions, and --color-primary for emphasis. Use the matching foreground token when placing text on filled controls, then verify the rendered pair.
- Use
--drawing-rule and --drawing-rule-strong for section boundaries. The portfolio grid uses 24 px and 96 px intervals and sets --radius-ui to 2 px. - Theme selection supports light, dark, and system. The system option follows
prefers-color-scheme. Confirm local overrides and the OS preference resolve in the intended order. - The current implementation uses CSS custom properties. If you introduce inter-tool export, the Design Tokens Community Group format specifies typed values, aliases, and groups.
.reference-panel {
background: var(--color-bg);
color: var(--color-text);
border: 1px solid var(--color-border);
border-radius: var(--radius-ui);
}