v0.5.0 will drop support for Tailwind CSS v2.0 and is intended for use with Tailwind CSS v3.0+.
To upgrade, install @tailwindcss/typography@next
:
npm install -D @tailwindcss/typography@next
This is an alpha release, so some things might be broken. I don't know about them otherwise I would have fixed them, but you are gonna find them! So try it, break it, and tell me about it when you do so we can get this thing really battle-tested for a proper v3.0 release in a few weeks.
Changes
- Use
:where
to reduce specificity, making it possible to override prose children with utilities (#203) - Support "undoing" prose styles using the
not-prose
class on a group of child elements (#205) - Update color palette for v3 (#206)
- Improve customization API, add alternate grays, add dark mode support, use
::marker
instead of pseudo-elements, and add child element variants (eg.prose-h1:underline
)(#216)