Full Stack Radio cover image

109: The Road to Tailwind CSS v1.0

Full Stack Radio

00:00

Theme.colors: A New Feature That Lets You Specify Colors in Plugins

The default, what you want to nudge people towards is to say you choose a green and then we're automatically gonna use that in every one of those color related plugins. The way that that's implemented is this new feature where theme keys can be specified as closures instead of values. So if you specify background color is a function, well, when tailwind tries to like resolve your config file, it'll execute that function passing in the existing config. That's already been resolved to this point.

Play episode from 58:16
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app