marketplace-v1
marketplace-v1 copied to clipboard
Switch from TailwindCSS to Stitches
I now recognize I should not have utilized TailwindCSS so extensively for the Sample Marketplace. This mistake stems from the fact that I had never built something so big.
https://stitches.dev/
After using Radix I wasn't fully committed to their approach. I kept on forcing TailwindCSS into it. Now that I'm finishing the dark mode, I see all the ways in which Stitches would be better.
I want to start moving to Stitches. TailwindCSS can still be used, but minimally.
The code will become easier to manage and changes will propagate flawlessly.
We can make this change at any point. For now, I will only add stitches to new components.
@diegoramosxyz another one to consider is vanilla extract. no idea if it's better, just saw it getting some hype. this is an interesting thread where they evaluated all the options: ttps://github.com/Shopify/foundational-design-system-proto/discussions/44
also, random aside. looks like the stiches dev works at Rainbow wallet now: https://twitter.com/peduarte