What problem does it solve?
Maintains SGDS design token architecture across three layers (primitive tokens in root.css, semantic mappings in day.css/night.css, and Tailwind utilities in utility.css). Use when adding/modifying design tokens, creating new utilities, updating Storybook documentation, or ensuring token consistency across theme files. IMPORTANT - whenever new tokens are requested, ALWAYS complete all three deliverables - (1) utility.css mapping, (2) playground HTML demo in playground/utility/, (3) Storybook story in stories/utilities/. Never do just one without the others.
Core Features & Use Cases
- Enforces a three-layer token architecture: primitives, semantics, and utilities.
- Guarantees delivery of all three artifacts for token requests: utility.css mapping, playground demo, and Storybook story.
- Guides cross-team token work and documentation consistency across themes.
Quick Start
Follow the token workflow to add or modify tokens by updating all three layers and creating corresponding playground and Storybook entries.