The goal of this enhancement is to generate, by default, JSON that better aligns with Figma tokens, so that a design system exported by Theme Builder could be directly loaded into Figma, modified by the user, and then exported from Figma in such a way that Storybook and Theme builder could later consume. The ultimate goal is to allow a toolchain to update a central/shared design system when the user updates Figma, Theme Builder or Storybook.
@lwnoble is actively researching this possibility and will update this issue when complete. No UI here, strictly SDK. Perhaps as a stretch, or part of another issue, allow the JSON to be downloadable instead of our current copy/paste.
Suggestion/Concern
The goal of this enhancement is to generate, by default, JSON that better aligns with Figma tokens, so that a design system exported by Theme Builder could be directly loaded into Figma, modified by the user, and then exported from Figma in such a way that Storybook and Theme builder could later consume. The ultimate goal is to allow a toolchain to update a central/shared design system when the user updates Figma, Theme Builder or Storybook.
@lwnoble is actively researching this possibility and will update this issue when complete. No UI here, strictly SDK. Perhaps as a stretch, or part of another issue, allow the JSON to be downloadable instead of our current copy/paste.
Proposed Solution