Replies: 1 comment 1 reply
-
Hey! Two things: First, the
Second - you indeed need to apply the responsive variant Here's a super minimal example of that in a Play: https://play.tailwindcss.com/KvBvN5gJlO?file=config Worth noting - we might revisit this API in favour of something simpler down the road. This was implemented at a very low level on purpose to allow as much control as possible without having to "design" APIs that fit the needs people have when customising the Typography plugin. Hope it helps 👍 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings! I've almost managed to get a grasp on how to configure most of the
prose
features viatailwind.config.js
, but with one exception: the responsive classes. There are being silently ignored.Important info
I am using
@tailwind/typography
along withtwin.macro
on a nextjs project – it is possible that the issues come from these libs.The classes are being applied as such (do I have to explicitly add
sm:(prose-sm)
?Haven't tried that yet)No, I've tried, that wasn't the issue):The config
If you'd have any idea what's wrong, I 'd be very gratefuls.
Beta Was this translation helpful? Give feedback.
All reactions