-
Notifications
You must be signed in to change notification settings - Fork 130
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
Not passing themes to muiTheme() causes rendering errors #119
Comments
doing some digging into this myself. I'll see if I can fix it and submit a PR |
It seems that when custom themes are passed in via
overriding object can be found here: https://github.com/react-theming/storybook-addon-material-ui/blob/version-1/.storybook/.themes/customTheme1.js#L15 In the I believe this is presenting an issue in the https://github.com/react-theming/storybook-addon-material-ui/blob/version-1/src/UI/FullTheme.js#L31 Calling |
Removing
|
I think part of my issue overall is that I was using material-ui/core v4, whereas, from what I can tell, this repo only supports Material-ui v3 (though that doesn't appear to be documented anywhere). So it seems like this addon uses |
As per docs, not passing any args to
muiTheme()
should create default light and dark themes.Selecting the dark theme does not change the theme being used within storybook.
In addition, selecting "Full" in the Addon Panel causes the app to crash with the following errors:
The text was updated successfully, but these errors were encountered: