Closed abredikis closed 3 months ago
Good question! This may be a Tailwind bug/limitation but I'm waiting to hear back on their Discord. I suppose you could use the prose-
variants to accomplish this in the meantime, i.e.
<div class="prose prose-h1:~text-xl/2xl">
Hi,
I'm relatively new to Tailwind and its plugins, and I'm trying to use
fluid-tailwind
with the@tailwindcss/typography
plugin. Specifically, I'd like to overwrite the defaultfont-size
of headings and make them responsive without the use of breakpoints.Is it possible to achieve this when using
@tailwindcss/typography
? If using@apply
isn't possible currently, are there any other ideas you can suggest (besides writingclamp
functions)?I've had no luck making it work with this config
tailwind.config.js
:Thanks in advance for your help!