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

[bug]: "Dead" classes in components #7145

Open
2 tasks done
Ivaneyko opened this issue Apr 7, 2025 · 0 comments
Open
2 tasks done

[bug]: "Dead" classes in components #7145

Ivaneyko opened this issue Apr 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Ivaneyko
Copy link

Ivaneyko commented Apr 7, 2025

Describe the bug

Hi, after upgrading tailwindcss v3 -> v4 I have bunch of "dead" classes inside the components. It seems to me that the problem may not be in the settings of tailwind itself, but in the components. Since the component is installed already with these classes ( or I miss some point during the migration )

Image

Image

Affected component/components

Button, Input, Dialog ( etc )

How to reproduce

Used this documentation to update: https://ui.shadcn.com/docs/tailwind-v4
Install any component with bunx --bun shadcn@latest add button

System Info

MacOS 15.3.2
Bun 1.2.5
Vite 6.2.2

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@Ivaneyko Ivaneyko added the bug Something isn't working label Apr 7, 2025
@Ivaneyko Ivaneyko changed the title [bug]: Dead class in components [bug]: "Dead" classes in components Apr 7, 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

No branches or pull requests

1 participant