Skip to content

Author import-ready Tokens Studio JSON for the missing beta colour tokens #5221

Description

@pomfrida

Part of #4740, follow-up from the Button migration test case (#5208).

The Button migration surfaced gaps and bugs in the Tokens Studio beta export that must be fixed at the source. The studio CLI is pull-only, so the changes are authored as token JSON in the same structure as the pulled raw sets (packages/eds-tokens/src/tokens/raw/) and imported via the Studio UI by design.

Scope

Author proposal JSON covering:

  • Alpha-channel disabled tokens (🎨 Implement Alpha‑Channel approach for disabled states #4741) — as explicit values, not modify formulas (only the CSS export evaluates colour formulas)
  • A semantic action/fill group for buttons (the current background-surface-accent-* values are unsuitable as solid fills; Button consumes steps 9/10/11 directly in the meantime)
  • Accent text/border semantic tokens (secondary/ghost Button currently uses steps 12/8)
  • Neutral/danger equivalents of the accent-only semantic surface group (tone support)
  • Fix the border-focus self-reference in the semantic set (concept vs semantic name collision; border-disabled has the same collision with two conflicting values)
  • Step-based state naming per 🧩 Re‑evaluate token naming conventions #4744, reusing existing colour values per 🎛 Review & Refine Colour Token values #4742

Notes

  • The platform has no undo — changes go onto a Studio work branch with design review before merge and release
  • Alpha percentages need design sign-off to become canonical

Definition of Done

  • Import-ready JSON authored and shared with design
  • Names and values reviewed by design
  • Imported to Tokens Studio on a work branch and shipped in a beta release
  • Verified after studio tokens pull that the src/tokens/css/ output contains and resolves the new tokens

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions