Tailwind 2.0 is Live!
If you've been following along on Twitter, Tailwind was hinting that something big was coming. Today we get the reveal.
Tailwind 2.0! 🥳
The first major release to the utility-first framework brings with it some incredible features, and while you should head to the newly redesigned tailwind website to read all of the juicy details, if you want a list of my favorite additions to the framework, keep reading...
A New Color Palette
Tailwind 2.0 introduces a brand-new color palette packed with 220 colors, including 5 different shades of gray. It's beautiful!
That's right. Tailwind now officially supports dark mode. And it looks extremely easy to set up!
UPDATE: I've just published an article showing you how to use the new features to get dark mode set up in your own project! Check it out HERE!
Extra Wide 2XL Breakpoint
This is a big one for me because I have a 49" ultra-wide monitor. This new breakpoint is designed for 1536px and larger.
With Tailwind 2.0, the default spacing scale has been extended to include micro values as well as new values for use-cases where larger values are needed!
Group-Hover & Focus-Within By Default
focus-within classes are now part of the default functionality out-of-the-box with Tailwind 2.0!
There's a lot more that Tailwind 2.0 offers, so make sure to head over to the documentation site to learn more!
I can't wait to start using Tailwind 2.0!
What do you think? Leave your thoughts in the comments below!
Interested in reading more such articles from Braydon Coyer?
Support the author by donating an amount of your choice.
Just recently started using Tailwind and it's pretty fun once you get the hang of it.
Will definitely give this a go as well!
The best thing is, if you kep up with the warning, upgrade is not going to break anything.
I just straight up upgraded it to 2.x in v boilerplate and it "just works".
So cool not to: a) have good migration guide (like in the good old jquery times) b) not have to use it because everything works out of the box
I've got to try out the dark mode feacture