Addon: Create @storybook/addon-themes#23524
Conversation
|
Fantastic job @integrayshaun. Something that would be great is to improve the gif for 7.0 as it still has the old tabs I believe. But not a blocker at all I believe. We can update that later. |
There was a problem hiding this comment.
@integrayshaun looking great. Left one starter item for you to look at for now. One thing, though, when you address my comment and before pushing the commit, can you run yarn pretty-docs so that we don't get any errors with the snippets?
Also, a couple of things:
- Don't forget to update the
tocfile to get it referenced in the documentation - As this will be a part of essentials, the introduction page should also be updated to factor in this one.
Let me know once you've addressed the feedback, and we'll take it from there.
@cdedreuille good call on that, but don't worry, I can take care of it and align it with the rest of the videos/gifs we currently have. I'll follow up @integrayshaun on this.
bd5937d to
3f01f1d
Compare
|
|
||
| Storybook Addon Themes can be used which between multiple themes for components inside the preview in [Storybook](https://storybook.js.org). | ||
|
|
||
|  |
There was a problem hiding this comment.
I assume this is not the screenshot you want to use?
There was a problem hiding this comment.
No, Joao is going to help me out with an optimized video like we have for the other addons
eb9bf82 to
7f80506
Compare
shilman
left a comment
There was a problem hiding this comment.
Minor nits. Otherwise looking pretty good!
|
Docs don't turn dark in dark mode The toolbar item doesn't always appear |
|
@integrayshaun there are two themes registered. As I said, it does not appear in the panel, if the addon is not explicitly mentioned in the addons array in main.ts. Shouldn't it also work with mentioning only @storybook/addon-essentials in the addons array? |
|
The docs limitation should be mentioned somewhere in the docs, if not already done. |
|
@valentinpalkovic Weird! It definitely should show even in essentials 🤔 I'll try to test after my planning meeting here. I'll add the docs limitation into the docs as well :) Thank you for testing 🙏 |
|
You’re welcome :) tested it with next.js in combination with material ui theming |
Co-authored-by: Valentin Palkovic <valentin@chromatic.com>
Co-authored-by: Kyle Gach <kyle.gach@gmail.com>

What changed
How to test
Checklist
MIGRATION.MD
Maintainers
ci:normal,ci:mergedorci:dailyGH label to it to run a specific set of sandboxes. The particular set of sandboxes can be found incode/lib/cli/src/sandbox-templates.ts["cleanup", "BREAKING CHANGE", "feature request", "bug", "build", "documentation", "maintenance", "dependencies", "other"]