Hardcoded theme imports in Storybook makes adding a new theme difficult #82
Labels
kit: Storybook
Concerning Storybook
status: needs triage
These issues haven't been looked at yet by a maintainer.
When using this template for a project I noticed that the hardcoded theme imports in storybook makes updating the theme, particularly adding, removing, or editing the theme name a very manual process.
Proposal:
Dynamically generate previews based on number of themes
In the
.stories.mdx
where thetheme
is imported, we render the content using theuseTheme
hook instead:The text was updated successfully, but these errors were encountered: