etchteam / storybook-addon-css-variables-theme

Change the CSS variable based design tokens in your storybook on the fly
MIT License
28 stars 12 forks source link

Does not work when changing on docs #1

Closed gabriel-gn closed 2 years ago

gabriel-gn commented 3 years ago

Description

When changing the combo box on the "docs" tab, the theme does not switch properly. When changing the combo box on "canvas" tab, then switch to the tab "docs", the theme applies to "docs" properly.

Requirement

Is there any way to make it work properly? Thanks in advance!

gavmck commented 2 years ago

Should be! We'll try and take a look soon, but PRs are welcome.

prodkt commented 2 years ago

Any update on this?? Docs are incredibly important. This gets us halfway there but without the missing puzzle piece which is the theme also working in docs, it's only half done. Been a couple of months I'm assuming this isn't planned anytime soon?

gavmck commented 2 years ago

@prodkt @gabriel-gn This is working fine on docs as far as I can see now.