Skip to content

Remove tailwindcss/nesting and switch to native CSS nesting #415

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
L4Ph opened this issue Apr 23, 2025 · 0 comments
Open

Remove tailwindcss/nesting and switch to native CSS nesting #415

L4Ph opened this issue Apr 23, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@L4Ph
Copy link
Collaborator

L4Ph commented Apr 23, 2025

Starting with Tailwind v4, PostCSS syntax has been discontinued and replaced with a syntax closer to native CSS.

Therefore, tailwindcss/nesting cannot be used. (Strictly speaking, it is possible, but it would be difficult to maintain.)

As we gradually migrate to Tailwind v4, this will become a bottleneck and we need to switch to native CSS early on.

tailwindlabs/tailwindcss#15524

There is no problem with postcss-import either, since you can use the native @import.

@L4Ph L4Ph added enhancement New feature or request help wanted Extra attention is needed labels Apr 23, 2025
@L4Ph L4Ph assigned L4Ph and saicaca Apr 23, 2025
@L4Ph L4Ph mentioned this issue Apr 28, 2025
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants