-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Applying custom styles to Storybook components doesn't work #9532
Comments
@ndelangen any ideas? |
Adding this to my todo list |
Yes, I know what's going on, opening a PR |
Jeepers creepers!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.0.0-alpha.2 containing PR #9665 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. |
Ta-da!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.3.10 containing PR #9665 that references this issue. Upgrade today to try it out! |
Describe the bug
When trying to apply styles (new or override) to Storybook components (not all have been tested, but should be), the styles do not get applied.
To Reproduce
See code sample below.
Expected behavior
Styles are applied.
Screenshots
Code snippets
System:
Environment Info:
System:
OS: Windows 10 10.0.18362
CPU: (8) x64 Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz
Binaries:
Node: 10.17.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.15.2 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.11.3 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 44.18362.449.0
I'm using Chrome Version 79.0.3945.130 (Official Build) (64-bit), but browser doesn't matter.
"@storybook/addons": "^5.3.6",
"@storybook/api": "^5.3.6",
"@storybook/components": "^5.3.6",
"@storybook/core-events": "^5.3.6",
"@storybook/theming": "^5.3.6",
Additional context
This is true if using styled from @storybook/theming or from @emotion/styled and no matter which syntax is used.
The text was updated successfully, but these errors were encountered: