You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We are embedding storybook docs pages into our design system documentation website. This website currently supports 2 themes, light and dark. Storybook docs pages look quite out of place when the site's theme does not match the storybook docs page's theme.
example implementation: https://biome.immutable.com/storybook
Describe the solution you'd like
I'm hoping to be able to control the base theme used by storybook (for both docs and ui) - by passing in parameter(s) into the iframe embed URL. eg:
Is your feature request related to a problem? Please describe.
We are embedding storybook docs pages into our design system documentation website. This website currently supports 2 themes, light and dark. Storybook docs pages look quite out of place when the site's theme does not match the storybook docs page's theme.
example implementation: https://biome.immutable.com/storybook
Describe the solution you'd like
I'm hoping to be able to control the base theme used by storybook (for both docs and ui) - by passing in parameter(s) into the iframe embed URL. eg:
This way, we can vary which theme we show the storybook docs in, based on the hosting application's color theme (eg light or dark).
Describe alternatives you've considered
I've tried adding params like theme=dark etc into the iframe url, with no luck.
The text was updated successfully, but these errors were encountered: