function sassy_compass__adjust_saturation in Sassy 7.2
Same name and namespace in other branches
- 7.3 sassy_compass/functions/colors.inc \sassy_compass__adjust_saturation()
A genericized version of saturate/desaturate 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 26
Code
function sassy_compass__adjust_saturation($color, $amount) {
return sassy_compass__adjust_color_value($color, 'saturation', $amount);
}