Skip to content

Expose "reset" styles as a separate plugin #21

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

Closed
larrifax opened this issue Dec 4, 2020 · 1 comment
Closed

Expose "reset" styles as a separate plugin #21

larrifax opened this issue Dec 4, 2020 · 1 comment
Assignees

Comments

@larrifax
Copy link

larrifax commented Dec 4, 2020

Would it be possible to split the plugin in two - one for the "reset" part and one for the (opinionated) styling?

I'm in a situation where I want to "invert" the styling of radio buttons and checkbox compared to the default styles in this package, e.g. I want white background and a colored checkmark on the checkboxes - but that's currently not doable without undoing/overriding a lot of the CSS.

Ideally, I would just add the "reset" styles and do my own styling using tailwind classes and my own base styles.

@JBaczuk
Copy link

JBaczuk commented Jan 26, 2022

One of the opinionated decisions that seem off is the ring is shown on focus, which is usually shown on focus-visible (like when using tab to switch between checkboxes).

@RobinMalfait RobinMalfait self-assigned this Feb 21, 2022
@tailwindlabs tailwindlabs locked and limited conversation to collaborators Feb 21, 2022
@RobinMalfait RobinMalfait converted this issue into discussion #105 Feb 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants