3 ms·
I don't have anything to hand and I only use a tiny number of Sass's built-in features, but here's a super-quick demo of styling with variables and darken (http
by petepete 6y ago
I don't have anything to hand and I only use a tiny number of Sass's built-in features, but here's a super-quick demo of styling with variables and darken (https://sass-lang.com/documentation/modules/color#darken https://sass-lang.com/documentation/modules/color#darken).
https://jsfiddle.net/peteryates/uqdnj4sa/10/ https://jsfiddle.net/peteryates/uqdnj4sa/10/
Note, darken and lighten aren't always favoured these days, it's good advice to learn scale (https://sass-lang.com/documentation/modules/color#scale https://sass-lang.com/documentation/modules/color#scale), but darken or lighten makes for an easier demo.