Updated the colour adjustment functions (lighten, darken, saturate, desaturate, opacify, transparentize) to be compatible with Sass; they do absolute adjustments. The default in PHamlP is now absolute. To make a relative adjustment for the lightness and saturation values either pass a SassBoolean('true') as the 3rd parameter, e.g. lighten(#654321, 50%, 'true') or call the function with '_rel' appended to the name, e.g.  lighten_rel(#654321, 50%). For opacify or transparentize, if the number is unitless and between 0 and 1 the adjustment is absolute, if the number is a percentage the adjustment is relative. To understand the difference between absolute and relative adjustment, take a colour with a lightness of 40% and an adjustment value of 50%. The resulting colour lightness value for an absolute amount is 90%, whereas the resulting colour lightness value for a relative amount is 60%. Further darken(lighten(colour, 50%), 50%) returns colour, whereas darken_rel(lighten_rel(colour, 50%), 50%) does not return colour.
Updated the colour adjustment functions (lighten, darken, saturate, desaturate, opacify, transparentize) to be compatible with Sass; they do absolute adjustments. The default in PHamlP is now absolute.
To make a relative adjustment for the lightness and saturation values either pass a SassBoolean('true') as the 3rd parameter, e.g. lighten(#654321, 50%, 'true') or call the function with '_rel' appended to the name, e.g.  lighten_rel(#654321, 50%).
For opacify or transparentize, if the number is unitless and between 0 and 1 the adjustment is absolute, if the number is a percentage the adjustment is relative.
To understand the difference between absolute and relative adjustment, take a colour with a lightness of 40% and an adjustment value of 50%. The resulting colour lightness value for an absolute amount is 90%, whereas the resulting colour lightness value for a relative amount is 60%.
Further darken(lighten(colour, 50%), 50%) returns colour, whereas darken_rel(lighten_rel(colour, 50%), 50%) does not return colour.

amiadogroup/Phamlp