You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#228 seems to be reintroduced when upgrading to tailwindcss v4. As shown below, using a theme modifier like prose-neutral overrides prose-invert, breaking dark mode.
with v3:
with v4:
The text was updated successfully, but these errors were encountered:
In my case, using prose-invert won't break, but using prose-invert with prose-stone will break the theme. this happen in v4, and as i test won't happen in v3.
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.
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: