Skip to content

🧩 Component migration (colour, then spacing & typography) #5119

Description

@eddiman

Description

Migrate EDS components onto the redefined tokens. Per the 23 Jun decision, all current (and future) EDS 2.0 components migrate — no prioritised subset. Pure component-consumers see no change. Run in two phases, colour first.

Phase 1 — switch to the expanded static colours (first)

Phase 2 — switch to new spacing & typography tokens

  • Apply the decoupled spacing / typography tokens.
  • Remove text-trim and reset component paddings to fit all sizes (the work the text-trim change creates).

Definition of Done

  • Phase 1: all components on the expanded static colours
  • Phase 2: all components on new spacing & typography tokens; text-trim removed; paddings reset
  • Density modes (compact / comfortable / relaxed) validated across representative components — moved here from 📏 Rename density modes (compact / comfortable / relaxed) #4743. Components consume --eds-density-*; the legacy data-density="spacious" scheme does not survive the rewrite.
  • Visual regression tested
  • No consumer-facing breakage for pure component-consumers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions