-
Notifications
You must be signed in to change notification settings - Fork 287
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
use of prose-invert broken in tailwind v4 #375
Comments
In my case, using |
Had the same issue. Another class was adding a color and that broke the thing? Enforcing important on both prose and prose-inverted seems to do the trick.
|
the same issue here after upgrading to V4, everything was good with V3 |
Due to alphabetical sorting, any prose colour classes that appear after For example:
|
What version of @tailwindcss/typography are you using?
0.5.15
What version of Node.js are you using?
v22.12.0
What browser are you using?
chrome + firefox
What operating system are you using?
linux
Reproduction repository
https://codeberg.org/beacondb/beacondb.net/pulls/27
Describe your issue
#228 seems to be reintroduced when upgrading to tailwindcss v4. As shown below, using a theme modifier like
prose-neutral
overridesprose-invert
, breaking dark mode.with v3:
with v4:
The text was updated successfully, but these errors were encountered: