Skip to content

[Chip] Migrate to new beta colour tokens #5223

Description

@pomfrida

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions