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
I was experimenting with the new Tailwind JIT CDN and I noticed an issue with the Typography plugin. I've not tried it on a production setup.
If i use @apply prose the compiler seems to ignore any future @apply rules (either on the same line, or further down the CSS).
The bug is present in Tailwind V3 Alpha2, but compiles as expected if i switch to V2.2.19. Switch between the two versions to see the differences. In my example it ignores the prose-2xl and @apply text-red-500 rules after prose is applied.
Uh oh!
There was an error while loading. Please reload this page.
What version of @tailwindcss/typography are you using?
3.0.0-alpha.2
What version of Node.js are you using?
v14
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction repository
https://play.tailwindcss.com/cM8QtjobVQ
Describe your issue
I was experimenting with the new Tailwind JIT CDN and I noticed an issue with the Typography plugin. I've not tried it on a production setup.
If i use
@apply prose
the compiler seems to ignore any future@apply
rules (either on the same line, or further down the CSS).The bug is present in Tailwind V3 Alpha2, but compiles as expected if i switch to V2.2.19. Switch between the two versions to see the differences. In my example it ignores the
prose-2xl
and@apply text-red-500
rules afterprose
is applied.Example: (switch between Tailwind versions)
https://play.tailwindcss.com/ogV2iFjxm3
Tailwind 3 Alpha:

Tailwind 2:

The text was updated successfully, but these errors were encountered: