-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Plugin not compatible with Tailwind 2 #94
Comments
Can confirm. Works with default config but customizing styles (adding typography key to theme section of config) results in empty prose. |
Same. Also, no dark mode support. 🥲 |
Going back to 0.2.x seems to fix the issue. |
yep, works for me, but without dark theme support. |
Same here. 0.2.0 works with config modifiers. |
Yep, customizing the CSS doesn't extend the default ones anymore, but replaces them entirely, so the styles I wrote become the only styles. Considering that the latest updates haven't been pushed to GitHub, I assume that this is a known problem and that the team is working on it, so we just have to be patient. |
You must change the "default" keyword to "DEFAULT", see the upgrade nodes. https://tailwindcss.com/docs/upgrading-to-v2#update-default-theme-keys-to-default
|
Sorry haven't had a chance to write release notes yet. The big difference is you will want to add your customizations under The typography plugin now relies on Tailwind to do the merging for you instead of doing it itself. I'll get release notes written and docs updated soon. |
Ok, and what about dark theme and typography plugin? Still doesn't work. |
Light and dark mode works fine for me after moving my customization into "devDependencies": {
"@tailwindcss/aspect-ratio": "^0.2.0",
"@tailwindcss/forms": "^0.2.1",
"@tailwindcss/typography": "^0.3.1",
"tailwindcss": "^2.0.1-compat",
} |
Pls, show me your config, I don't understand. This is mine:
|
|
Ok, I've figured it out. In order to darkMode work correctly with typography plugin, we must add
to Full config will be:
|
Subj, no errors on build stage, but in css I have empty
.prose {}
statement.The text was updated successfully, but these errors were encountered: