Tailwind 2 compatibility?
See original GitHub issueFirst of all thanks for the amazing work on this plugin, it really came at the right time for our project!
I’m currently trying to upgrade from tailwind 1.9.6 tailwind 2.0.2. After completing the upgrade guide I noticed the themes were not loading correctly. Looking at the generated css it seems all the color class names are being suffixed with -default
now. For example the color named on-background
will generate text-on-background-default
.
This issue is happening in 2.4.3
and v3.0.0-beta.2
.
Any ideas on how we complete the upgrade?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Tailwind CSS v2.2
It's fully backwards-compatible with the previous CLI, so if you've got any scripts set up already you should be able to upgrade to...
Read more >Tailwind v2 and IE11 compatibility - Incoherent.ch
Tailwind v2 uses color definitions that are not compatible with IE11. With Tailwind v1 it had a fallback specifically for IE11, but v2...
Read more >Compatibility with PostCSS 8 #2396 - tailwindlabs/tailwindcss
Yep looks like PostCSS 8.0.7 broke Tailwind again. Works with PostCSS 8.0.2-8.0.6. Will investigate, thanks.
Read more >How to install Tailwind CSS 2 with Laravel 8
If you want to use the latest version of Tailwind CSS (version 2 ... PostCSS compatibility: "PostCSS plugin tailwindcss requires PostCSS 8".
Read more >Module tailwind.config.js merging - Hyvä Docs
Often compatibility modules need to add their templates and layout XML files to a themes ... 2. Add the module to the app/etc/hyva-themes.json...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah good point - I had an issue in the purge config. Looks good now!
Can you share your config? The plugin really just edits your
color
configuration and doesn’t do more magic than that, so I’m not sure what would be the issue.Make sure you have followed the whole documentation on purge: https://tailwindcss.com/docs/optimizing-for-production