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

Possibility of using our own CSS. #16

Open
dgteles opened this issue Nov 14, 2024 · 1 comment
Open

Possibility of using our own CSS. #16

dgteles opened this issue Nov 14, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@dgteles
Copy link

dgteles commented Nov 14, 2024

It would be interesting to have the possibility of using our own custom CSS instead of using only properties to define colors.

For example: I don't want rounded edges at 3rem, as is predefined. I don't want it to have a margin-right of 32px, I prefer to leave it at 0 so that it is positioned at the end.

Thanks!

@Sidnioulz Sidnioulz added the enhancement New feature or request label Nov 18, 2024
@Sidnioulz
Copy link
Owner

Hi @dgteles,

Thanks for the issue. I do plan on adding freeform styles, I was just not sure how to handle my current parameters alongside it without making a breaking change.

Note that the 32px at the end in the sidebar is a requirement from the Storybook team. They want to reserve that space for other UI features like Storybook Test. See the sscreenshot below for an example.

image

The addon CSS was built slightly before the UI was out for this, so maybe they would both get along fine without the reserved space. Happy to be proven wrong here :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants