-
-
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
Remove drop shadow in Addon-Info #1877
Comments
I noticed this as well. I couldn't override it via the |
@ItsJonQ Me as well. Moved over to Styleguidist. Maybe someone will clean this up a bit. |
@t2 Oo! Thanks for the recommendation. I'll seriously consider this option! My needs have grown from needing a simple playground to something more of a styleguide. Thanks! |
We would love a PR for that if you any of you have time to give a try at fixing it. |
I believe #1501 fixes that |
@Hypnosphi #1501 wouldn't fix this, but it would eliminate this problem because it won't be inline anymore. |
@danielduan In common case we can just add But it's very inflexible solution. For example, now I want to add a light-gray background for each odd row in PropTable. AFAIU from #1576 you are planning to separate visual part from logic. |
@SuperOl3g We actually use glamorous (this is basically styled-components with JS objects instead of CSS string literals) |
@Hypnosphi Hmm, it's kind of theming but very very limited. |
Hope #428 will solve not only the problem of theming of the core but also theming of add-ons too. |
I think if you're looking for an inline style guide type react tool, perhaps you should take a look at react-styleguidist: https://react-styleguidist.js.org/ I'd hate for you to leave Storybook but I think it might suit your use case better in its current implementation. You will lose out on Storybook's ecosystem of addons though. |
It's actually the same as in styled-components which you have brought up
In my view, it's actually a good thing. But anyway, we could just do something like this for all the components:
Here, |
@Hypnosphi, sounds good! Look forward when it will be released) |
@SuperOl3g you can actually bring that moment closer! Just clone the |
@Hypnosphi, ok, if I have some time, I will migrate some code |
Since the inline styling is damn strange now, header and preview parts are split into separate shadowed containers. Issue: storybookjs/storybook#1877
Since the inline styling is damn strange now, header and preview parts are split into separate shadowed containers. Issue: storybookjs/storybook#1877
@Hypnosphi, I'm not very good at |
Like this:
What do you want to use it for, by the way? |
The addon-info inline styling is very strange. Header and prop types are split into separate shadowed containers. Is this on purpose?
Example: https://cl.ly/0h0W0g0T1p1b
The text was updated successfully, but these errors were encountered: