Closed
Description
So I already solved this but I figured it might be helpful to post it here still in case anyone else runs into this problem as well. Couldn't figure out how to pass a custom class name to the @tailwindcss/typography plugin, but found a simple workaround.. Just disable the plugin and require it separately 👍
plugins: [
require('@tailwindcss/ui')({ typography: false }),
require('@tailwindcss/typography')({ className: 'html' }),
],
However it'd be nice if @tailwindcss/ui'
accepted a hash of options that is then passed to the typography plugin:
require('@tailwindcss/ui')({ typography: { className: 'html' } })
Metadata
Metadata
Assignees
Labels
No labels