Do CSS custom properties beat Sass loops?

Robin Rendle / filed under HTML & CSS, Sass

I reckon that a lot of our uses of Sass maps can be replaced with CSS Custom properties – but hear me out for a sec. When designing components we often need to use the same structure of a component but change its background or text color based on a theme. For example, in an […]

Join thousands of product people and get the latest articles and resources from my curation every day or week.