Part of #5119 (phase 1 — colour). Second component onto the redefined tokens from the eds-tokens beta, following the Button test case (#5208, PR #5222).
Chip has no disabled state, so unlike Button it can be migrated completely without waiting for the alpha-channel disabled tokens (#4741). It also exercises parts of the beta semantic layer Button never touched: the selected state maps onto the semantic selected groups (background-surface-accent-selected-*, border-selected), which validates whether those groups work in practice.
Scope
- Switch Chip (
/next) onto the expanded static colours — step-based state names, using the --_tone-N indirection pattern established in Button for tone support
- Use semantic tokens where they exist and fit (selected groups,
border-focus, canvas); flag new gaps as learnings
- Visual regression checked against current Chip (all variants × tones × selected × light/dark)
Definition of Done
Part of #5119 (phase 1 — colour). Second component onto the redefined tokens from the eds-tokens beta, following the Button test case (#5208, PR #5222).
Chip has no disabled state, so unlike Button it can be migrated completely without waiting for the alpha-channel disabled tokens (#4741). It also exercises parts of the beta semantic layer Button never touched: the
selectedstate maps onto the semantic selected groups (background-surface-accent-selected-*,border-selected), which validates whether those groups work in practice.Scope
/next) onto the expanded static colours — step-based state names, using the--_tone-Nindirection pattern established in Button fortonesupportborder-focus, canvas); flag new gaps as learningsDefinition of Done