Posts, a community app by Read.cv

Thread
Nate Dunn
Replying to @loganliffick

Very different approaches, so using the together might be more trouble than it's worth. Imo, Tailwind offers 90% of what you need, especially with arbitrary values. tailwindcss.com/docs/adding-cu…

Adding Custom Styles - Tailwind CSS
Best practices for adding your own custom styles to Tailwind.
Logan Liffick
Replying to @natedunn

I’ve been using styled for a few years now but just diving into tailwind, wasn’t sure if they mixed or not! Thanks Nate!

John Eatmon
Replying to @loganliffick @natedunn

Have you looked into Class Variance Authority? Plays nicely with TW

Logan Liffick
Replying to @johneatmon @natedunn

Also update on the tailwind v styled front: tailwind eats styled for lunch. This is how ive wanted to build for years 👏 Variants looks slick too, that’s sort of how I used to run styled in components to conditionally cut down on exports.

Nate Dunn
Replying to @loganliffick @johneatmon

Pretty rare to hear someone catch on right away. Usually it take some time. 🤭 but I’m glad you like it!

Logan Liffick
Replying to @natedunn @johneatmon

I grew up on bem so not suuuuper new to utility class css but this is so much better 😊

Scott Savarie
Replying to @loganliffick

+1 for not mixing libraries. Both a great at different things, but you’ll be fine with either choice! On Current we use Stitches for styling and Radix for primitive components. stitches.dev/

Stitches — CSS-in-JS with near-zero runtime
CSS-in-JS with near-zero runtime, SSR, multi-variant support, and a best-in-class developer experience, by WorkOS.