Goal
As part of T293127 and for better designers and developer experience, the Codex demo site should feature tokens list and visualization.
Prior art
WiKit implemented similar visualization in their Storybook demo.
| Volker_E | |
| Nov 17 2021, 6:35 AM |
| F34886919: image.png | |
| Dec 17 2021, 12:22 AM |
As part of T293127 and for better designers and developer experience, the Codex demo site should feature tokens list and visualization.
WiKit implemented similar visualization in their Storybook demo.
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| vitepress: Add design tokens visualization | design/codex | main | +1 K -1 | |
| tokens: Make "npm run doc:dev" also watch tokens for changes | design/codex | main | +1 K -4 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Duplicate | • STH | T302348 <Platform Initiative> Release Codex in Beta (Limited Production Release) | |||
| Invalid | None | T302025 Upgrade Codex to Beta version | |||
| Resolved | Volker_E | T293127 [EPIC] Design System Foundation: Design and define design tokens | |||
| Resolved | Catrope | T295843 Add design tokens visualization to Codex demo site |
Keep in mind that this is a universe in itself, with complexity only limited by imagination. The beauty of the topic is that it really lends itself to a generic solution. When we touched on this in wikit, design system / token support in storybook was still in its infancy (I was looking at this at the time), but there has been some movement since. Maybe you can find a ready-made building block which works well enough (and potentially contribute to it) to avoid having to create+own a custom one.
Change 745956 had a related patch set uploaded (by Catrope; author: Catrope):
[design/codex@main] vitepress: Add design tokens visualization
Change 745957 had a related patch set uploaded (by Catrope; author: Catrope):
[design/codex@main] design-tokens: Make \"npm run doc:dev\" also watch tokens for changes
Change 745956 merged by jenkins-bot:
[design/codex@main] vitepress: Add design tokens visualization
Change 745957 merged by jenkins-bot:
[design/codex@main] tokens: Make \"npm run doc:dev\" also watch tokens for changes