Adam Wathan Profile picture
Sep 3, 2020 5 tweets 2 min read Read on X
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 👀 Image

• • •

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

Feb 14
A ton of confusion amongst Tailwind users comes from not realizing that if you are using CSS modules, or