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
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
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:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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
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).
I've tried adding params like theme=dark etc into the iframe url, with no luck.
Beta Was this translation helpful? Give feedback.
All reactions