Adam Wathan Profile picture
Sep 4, 2020 4 tweets 2 min read Read on X
🥳 Just released Tailwind CSS v1.8.0!

🦑 New `font-variant-numeric` utilities
🐠 New grid alignment utilities (place-items!)
🐳 Even smaller file sizes
🌒 Experimental dark mode support

Check out the release notes for all the details 👉

github.com/tailwindlabs/t… Image
(Haven't had a chance to add docs for the new utilities yet but wanted to get the release out for the eager beavers anyways! If anyone wants to scaffold out the basic pages for `font-variant-numeric` and the added alignment utilities I'll send you a t-shirt!)
Should've said "even bigger file sizes", I broke PurgeCSS completely and have now uncovered a flaw in our purge tests 👀

Hold off on upgrading 'til we fix it, hopefully after my toddler goes to bed 🙈
Everything all fixed now 🍾 Big thanks to @malfaitrobin for fixing two out of the three bugs for me 🙈

github.com/tailwindlabs/t…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Adam Wathan

Adam Wathan Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @adamwathan

Jul 19, 2023
✨ A recap of Tailwind Connect 2023!

Last month, over 200 people got together in my hometown of Cambridge, Ontario to hang out, talk shop, and get a peek behind the curtain at some of the new stuff we’ve been working on. Image
Tailwind Connect started out as an idea for throwing a little local meetup while the team was in town, but naturally ballooned into us renting a massive hall, hiring a crew of four videographers, and racking up a catering bill that put my own wedding to shame. Image
But even though we got a little carried away with the production, we tried to make it feel more like a meetup than a conference. We ran the event in the evening and kept it to just one presentation, leaving as much time as possible for people to just hang out and connect. Image
Read 26 tweets
Jan 16, 2023
I've never worked on a site where dark mode was as simple as "replace every instance of hex code A with hex code B."

The color changes are very often context-specific, so if you're using CSS variables to support themes, you need to name those contexts, like GitHub has:
Notice the "Show All Properties (389 more)" at the bottom? Yeah, there are a _lot_ of context-dependent color tweaks that need to happen in every supported theme.
This is why dark mode support works the way it does in Tailwind. It lets you make context-specific design decisions for dark mode right in the template, without identifying, naming, and hoisting every single context out of the design.
Read 7 tweets
Sep 27, 2022
It’s weird that anyone thinks Tailwind isn’t suitable for super custom designs. That’s literally the reason I made the framework, to build super custom designs faster.
Shipping something soon that should help change this perception anyways 👍🏻
I mean this is one of the first sections on the homepage 😄 If people think that though then just have to work harder.
Read 5 tweets
Sep 17, 2022
I've always loved how much polish a subtle animation like the one on this Stripe button can add to a UI 😍

Let me show you how to recreate it with Tailwind CSS! 🧵
First, let's create the button! We'll use `rounded-full` for the pill shape, add padding with `px-4` and `py-1.5`, set the font-weight with `font-semibold`, add color with `text-white` and `bg-slate-900`, then set a hover color with `hover:bg-slate-700`.

play.tailwindcss.com/c1BKsSjQto Image
Next, let's figure out how this icon needs to be built to animate the way we want it to.

Here's what the animation looks in slow motion — notice how the horizontal line fades in, and the chevron slides to the right?
Read 10 tweets
Aug 17, 2022
Are there any email marketing/newsletter tools designed for technical people? All I want in the world is to write emails in markdown and include code snippets.

I want to do a lot more newsletter writing but the friction with all the WYSIWYG crap is brutal 😞
"HEY World" is by far the closest thing I've found to the right level of friction-free newsletter publishing (even without markdown or code support), but for sending stuff to the Tailwind newsletter it feels weird to not come from our domain.
This is my current oh-my-god-I-want-to-blow-my-brains-out workflow:

1. Write in Markdown in my editor, leaving little comments where I need to add images.

2. Optimize images myself and upload to DigitalOcean Spaces (to bypass brutal compression applied by newsletter software.)
Read 7 tweets
Jun 25, 2022
For better or worse my entire approach to business is “make whatever I want, and hope enough people pay for it for it to work.”

Like a band making music — write songs you’re excited about, not the songs people want you to write. Might fail but at least you’ll have fun.
To be clear this isn’t advice, and it’s the furthest thing from a recipe for success. But if you’re lucky enough to have this, I would be careful to fall into the trap of doing what people ask you to do instead of just continuing to live the dream.
As an example, we released these Tailwind CSS templates earlier this week and we used Next.js because we like using Next.js. I’ve gotten lots of feedback like “not all your customers use React” and yeah that’s true! But that assumes we’re customer-driven, and we’re not.
Read 6 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(