Release 0.4.0
Version 0.4 works only for Tailwind 2, use version 0.3.5 for Tailwind 1 support. Click here for an upgrade guide
This release supports TailwindCSS 2 🎉, here is everything that changed:
Typography plugin is not bundled anymore
Bundling typography plugin seems like a good idea at first, but it's a size increase for all the people who didn't need it. And people can't update it's version to their needs.
Now you can install it yourself if you are using it. Make sure you install the latest version that supports TailwindCSS 2.
npm install @tailwindcss/typography
Alert, Badge, Spinner, Progress has utility classes to change colors
This means we can update these components to have any number of colors which are available in tailwind.
<div class="text-green-800 bg-green-100 alert" role="alert">I'm a alert that informs you of stuff</div>
<span class="text-red-800 bg-red-100 badge">Success</span>
<div class="text-yellow-700 spinner" role="status">
<span class="sr-only">Loading...</span>
</div>
<progress class="text-gray-900 progress" value="70" max="100">70%</progress>
Removed some unused social buttons
Removed YouTube, Twitch, LinkedIn, Slack button colors as no one was using it and it can be recreated with utility classes.
Some card classes removed for utility classes
card-success
, card-danger
, card-dark
, card-title
, card-subtitle
also removed in favor of utility classes so that any colors and combinations can be used.
Commits
- Added Upgrade Guide (4fe3473)
- Final TailwindCSS 2 Updates (db7df5c)
- Updates for tailwind 2.0 (ce69216)
- Preparing for Tailwind 2 (c6428b7)
Please raise an issue if you have any problems or doubts, I'll help you get through it.