-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setConfig(theme) in manager.js
theme definition not applied to addon-docs
#9662
Comments
|
I think we should just set the docs theme independently in the preview, and update the documentation accordingly. WDYT @ndelangen ? If you're good with that solution I can update the documentation. |
Yeah that would work for me @shilman |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
ZOMG!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.0.0-alpha.26 containing PR #10114 that references this issue. Upgrade today to try it out! You can find this prerelease on the Closing this issue. Please re-open if you think there's still more to do. |
😔 |
As discussed in:
#9498 (comment)
The new method for configuring theme in
manager.js
unfortunately means addon-docs doesn't receive the theme.This can be quite disturbing when using dark-mode for example.
We should come up with a good method for sharing the theme / defining it once.
We also discussed to users might actually WANT different themes for manager & docs...
The text was updated successfully, but these errors were encountered: