3 ms·
This is what tailwind does already. Colors are defined as design tokens in a config file: https://tailwindcss.com/docs/customizing-colors#color-object-syntax h
by azemetre 4y ago
This is what tailwind does already. Colors are defined as design tokens in a config file:
https://tailwindcss.com/docs/customizing-colors#color-object-syntax https://tailwindcss.com/docs/customizing-colors#color-object...
Utility CSS is by far my favorite way to write CSS, especially in teams. It allows you to extract out multiple classnames that encapsulate all styles into a single classname.
Why would you use Sass when plain CSS does the job better? Tailwind is just normal CSS, all the build steps are ways of making your stylesheets more efficient and removing dead code but it's all still CSS no preprocessor necessary.