Search code examples
csslesscompass-sasssass

Is there something like "spin" or "darken" "ligher" functions in Compass CSS like LESS has


I was using LESS css and loved the ability to generate dynamic color schemes with it using functions like spin, darken, fade, saturate etc... and now i am using compass but am unable to find any similar functions in Compass CSS.


Solution

  • In addition to the Sass color functions, Compass has color helpers.

    • adjust lightness
    • adjust saturation
    • scale lightness
    • scale saturation
    • shade
    • tint