mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Closes https://github.com/tailwindlabs/tailwindcss-typography/issues/383 This PR fixes an issue that happened when JavaScript plugins create a nested rule that references to the utility name. The previous behavior looked like this:  I was able to come up with an approach that can be fixed entirely in the compat layer by leveraging the `raw` field on the candidate. ## Test plan - Added unit tests - Verified with the reproduction from https://github.com/tailwindlabs/tailwindcss-typography/issues/383: <img width="1458" alt="Screenshot 2025-02-14 at 13 21 22" src="https://github.com/user-attachments/assets/50544abc-e98f-48cd-b78c-ad7697387dd8" />
A utility-first CSS framework for rapidly building custom user interfaces.
Documentation
For full documentation, visit tailwindcss.com.
Community
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
Discuss Tailwind CSS on GitHub
For chatting with others using the framework:
Join the Tailwind CSS Discord Server
Contributing
If you're interested in contributing to Tailwind CSS, please read our contributing docs before submitting a pull request.