Adam Wathan Profile picture
Creator of @tailwindcss. Listener of Slayer. Austin 3:16.

Sep 3, 2020, 5 tweets

Didn't think it could be done but thanks to @DavidKPiano I have successfully created a composable API for font-variant-numeric that lets you combine the different options arbitrarily in your HTML 😎

Tailwind v1.8 tomorrow? 🤔

CSS Custom Properties: Theming Isn't The Exciting Part™

Fun/dark follow-up, have to use /*!*/ for the null custom properties rather than /**/ or minifiers will strip the properties 😬

Opened a PR here:

github.com/tailwindlabs/t…

Turns out that wasn’t quite enough. This worked though 👀

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling