1 year at OasisL13Settler47 posts1 solution
OP#1
Three collections:
- Primitives: raw colours, spacing steps, radii. Never used directly in components.
- Semantic:
bg/surface,fg/muted,border/input, with Light and Dark modes. Every component uses these. - Component: only when a component truly needs its own value.
Naming mirrors our CSS variables exactly, so a developer can grep a token and find it in both places. Contrast is checked on the semantic layer for both modes.
- Reacted by
