Repository navigation
Replies: 1 comment
|
Closing this — it is done, just not here. It is implemented in poveste, the community-maintained fork of histoire: a sandbox-only color scheme switch (System / Light / Dark) living in the Background Color dropdown exactly as proposed above, shipped in poveste#56 and released in 0.2.0. The app chrome keeps its own scheme. The open question from my original post — iframe-only, or the other story types too — is settled: it covers the iframed sandbox, stories rendered without an iframe, the variant grid, and a sandbox opened in its own tab. Anyone who upvoted this can use it today: https://poveste.dev Edited: an earlier version of this comment said the idea was still unimplemented and pointed at a tracking issue. That was my mistake — the feature had already shipped. |
Uh oh!
There was an error while loading. Please reload this page.
Hello team.
Thanks a lot for this awesome tool. I started to use this since July 2022 and I like it a lot. It helps me a lot to organise and analyse each little details of every component.
So, closer to the topic. I'd like to ask your opinion on adding a Theme Switch only for sandbox. I thinks is not ok to theme to the whole app, just to simulate different themes only for sandbox. Why not to add the Switch in the Background Color dropdown? By clicking the corresponding theme, it will not affect the the whole app.
I implemented this only for iframed story component and added test cases, remains for others types of stories. I wanted to ask your opinion before continuing the development.
sandbox_theme_switch.mov
All reactions