Any plans to revamp tailwindcss-typography in 4.0 or beyond? #15305
EmmanuelOga
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First, thank you for all the incredible work on Tailwind, it’s been a game-changer for my CSS workflow!
With the upcoming 4.0 release, I was wondering if there are plans to revamp or update the Tailwind Typography plugin?
While the plugin adds great functionality, I’ve found it challenging compared to the rest of Tailwind.
Some friction points I’ve experienced:
The plugin heavily relies on CSS variables, which sometimes interfere with regular classes. For instance, I had to use
!important
to reset margins in a few places (e.g.,<h2 class="mt-0!">
).Modifying text sizes inside a
<div class="prose">
wrapper has also been unexpectedly tricky. In one case, I wanted to override the default font size, so naturally I tried<span class="text-xs">
(didn’t work), then<span class="text-xs!">
(still no luck), and finally<span class="not-prose text-xs!">
, but still, it did not work. My final solution was:<span style="font-size: 1rem">
, which worked as expected.I may be missing something, but it feels like the plugin’s current behavior interferes with core functionality in ways that are hard to debug, and the quality of the docs is nowhere near the core Tailwind Docs.
These challenges make the plugin feel less aligned with Tailwind’s simplicity and ease of use. I’m curious if others have reported similar issues and whether improvements are planned to address these pain points.
Thanks again for all your hard work! I’m excited to see what’s next.
Beta Was this translation helpful? Give feedback.
All reactions