Skip to content
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

Storybook control docs generation based on theme #1919

Open
ebellumat opened this issue Apr 5, 2021 · 0 comments
Open

Storybook control docs generation based on theme #1919

ebellumat opened this issue Apr 5, 2021 · 0 comments

Comments

@ebellumat
Copy link

Is your feature request related to a problem? Please describe.

I Wish that the docs generated by storybook using styled-system was more concise and smarter or no descriptions.

Other problem is: The options configured in themes appears in the docs, this is amazing, but when we transform that in controls, all inputs are "JSON string".

Bg with styled-system:

image

Controls with pure component:

image

When activating controls, the ideal here is to be a select input:

image

Describe the solution you'd like

My component vs Component using styled-system

Pure component

image

Styled system

image

Describe alternatives you've considered
Create all the args to controls manually, but this hurts.

Additional context
This is the only feature that i need to transform my workflow perfectly. Styled-system is amazing, but the integration with storybook falls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant