Storybook 'component themes' with different CSS files... #31099
Unanswered
Ronald-Diemicke
asked this question in
Help
Replies: 1 comment
-
I think #27419 is either the same or similar to what I'm trying to do, but the documentation doesn't make it clear on if this is something that works out of the box or not... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
So - I'm looking to have a UI switcher that would allow me to switch between different sets of CSS files for different themes.
It seems like the existing theme switching is for either the storybook UI itself OR to add a class to switch themes in the same CSS file... Neither of these things are what I'm looking to do.
Ex.
I've got Brand A in one css file and Brand B in a second css file. I want a UI bit to switch between the two and have the preview window load the right css file.
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions