-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Using any theme makes addon-a11y crash #5780
Comments
@Hypnosphi Setting a theme as a parameter is recommended: // config.js
import { themes } from '@storybook/theming';
import { configure, addParameters } from '@storybook/react';
addParameters({
options: {
theme: themes.light,
},
}); That should work, but I'll look into why the code you posted results in an error. |
@ndelangen I repro'd with parameter style in official-storybook, FYI |
I see, will investigate |
Fixed in #5787 |
@ndelangen Still seeing this on |
Same on |
Yippee!! I just released https://github.com/storybooks/storybook/releases/tag/v5.0.0-rc.11 containing PR #5843 that references this issue. Upgrade today to try it out! Because it's a pre-release you can find it on the Closing this issue. Please re-open if you think there's still more to do. |
Page crashes with
The text was updated successfully, but these errors were encountered: