Skip to content

[bug]: Checkbox component with conflicting base styles #7272

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

Open
2 tasks done
Geezgus opened this issue Apr 24, 2025 · 0 comments · May be fixed by #7277
Open
2 tasks done

[bug]: Checkbox component with conflicting base styles #7272

Geezgus opened this issue Apr 24, 2025 · 0 comments · May be fixed by #7277
Labels
bug Something isn't working

Comments

@Geezgus
Copy link

Geezgus commented Apr 24, 2025

Describe the bug

This isn't a bug, per se, but styles like

"dark:data-[state=checked]:bg-slate-900"
# with
"dark:data-[state=checked]:bg-slate-50"

or

"dark:aria-invalid:ring-red-500/40"
# with
"dark:aria-invalid:ring-red-900/20"

are conflicting. This triggers annoying IDE warnings.

I didn't have the time yet to try to fix this, but if someone can before me, that'd be nice!

Image

Affected component/components

Checkbox

How to reproduce

Simply install the component

Codesandbox/StackBlitz link

No response

Logs

System Info

OS: WSL 2 Ubuntu
Package manager: NPM

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@Geezgus Geezgus added the bug Something isn't working label Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant