function sassy_compass__adjust_lightness in Sassy 7.2
Same name and namespace in other branches
- 7.3 sassy_compass/functions/colors.inc \sassy_compass__adjust_lightness()
A genericized version of lighten/darken so negative values can be used
Parameters
SassColour $color - the color to adjust:
SassNumber $amount the value to adjust by:
File
- extensions/
compass/ functions/ colors.inc, line 8
Code
function sassy_compass__adjust_lightness($color, $amount) {
return sassy_compass__adjust_color_value($color, 'lightness', $amount);
}