3 ms·
> Using variables to make those three the same color is an abuse of DRY in my opinion. I disagree - as a matter of fact, a lot of CSS frameworks have the conce
by sangnoir 11y ago
> Using variables to make those three the same color is an abuse of DRY in my opinion.
I disagree - as a matter of fact, a lot of CSS frameworks have the concept of a "primary color" that is used in the manner I have described. Additionally,following your idea of DRY would render CSS variables pointless in CSS preprocessors as mixins cover that use-case (setting the same property).