0003. Portable role names shared with Neue
Status: Accepted · 2026-10-17
Context
The prototype names roles after its CSS (--accent, --text-2, --bg-edge). Station says that changing system keeps every portable token, and the pinned checker probes Neue's portable names. Neue and Studio serve products that may move between them.
Decision
Studio uses Neue's portable vocabulary wherever the role is the same: primary, on-primary, background, surface…surface-3, on-surface…on-surface-3, outline, outline-soft, outline-strong, focus, focus-field, focus-field-halo, scrim, overlay, status and *-surface, series-1..8, chart-*, spacing s-1..s-12, the gutter, band, frame and threshold tokens, nav-top, nav-h, nav-stack, scroll-offset, control sizes and rounded.*. Studio-only roles sit beside them: primary-line, primary-soft, primary-glow, on-surface-4, background-edge, the glass material, kind-*, the toolbar roles and the numeral and accent type roles. The prototype's names remain as aliases.
Consequences
- A product's
overrides.jsonwritten for Neue reads the same roles on Studio. - The Swift API takes the same names, camel-cased (
StudioColor.onSurface2). - The prototype's CSS names work during migration and can be retired later without a value change.