We actually aren’t using Sass for Bootstrap, but for custom styles. And we have a single CSS entrypoint, which imports Tailwind and the top Sass file, and it just automagically works.
I also don’t think we need Sass now that CSS has properties and nesting, but not sure how to easily convert it.
I also don’t think we need Sass now that CSS has properties and nesting, but not sure how to easily convert it.
Comments
Yeah, I haven't had to convert a lot of custom Sass, just small amounts. Usually I'm just completely replacing it for Tailwind. Straddling the two sounds really challenging!
We did need to sandwich Bootstrap styles between Tailwind preflight and utilties for desired specificity. Occasionally I still need to “!” a Tailwind utility, but mostly it works fine.
Since we’re not importing Bootstrap’s Sass, we can only change Tailwind’s default, but I don’t want to conform to Bootstrap’s defaults 😛