You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getShade() ( in styles/_colors.scss) works on the lightness property of the passed color (in a HSL way). This means that the same variation value generates different results for different colours. Other than that, getShade() could also shot an error. Example: getShade($crusta-orange, 29)
generates
We could solve this
using SCSS lighten method, but then we have to change how we measure the variations
force $new-lightness to be alwasy >= 0 with an if .
The text was updated successfully, but these errors were encountered:
getShade()
( in styles/_colors.scss) works on the lightness property of the passed color (in a HSL way). This means that the same variation value generates different results for different colours. Other than that,getShade()
could also shot an error. Example:getShade($crusta-orange, 29)
generates
We could solve this
lighten
method, but then we have to change how we measure the variations$new-lightness
to be alwasy >= 0 with anif
.The text was updated successfully, but these errors were encountered: