Closed notjb closed 5 years ago
The problem was coming from the key white
also being a CSS color keyword. The type of $color
in the function was then color
instead of string
, which made it throw an error.
Casting the parameter as a string seems to resolve the issue. Will be fixed in the 1.2.0 release 😉
When using the color function, i'm getting the following error :
SCSS
Error
Main issue : no fallback is made to the default
$colors
map. Bugfix : The problem can be solved by only using strings as parameter of the function. Potential Feature request : make both strings and keys usable or fallback to default$colors
map