Token Workflow

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.

govtechsg 222aa9e 2.9 KB Updated

File contents

govtechsg/sgds-web-component/tree/main/.github/skills/token-workflow commit 222aa9e9b0

Frequently asked questions

npx skillmds@latest add govtechsg/token-workflow