I am trying to use CSS variables in an Angular project together with Sass functions (lighten() / darken() to be precise), and as far as I know, the latest version of LibSass allows it.
I have installed [email protected] and [email protected] (and on Angular v7.3.0), but yet I receive an error
Argument $color of lighten($color, $amount) must be a color
Am I missing something?
Thanks!
$colorsomewhere?lightenis sass's native function, $color is just the first parameter name. The code is:color: lighten(var(--textColor), 10%)