Sha256: c7f96df1327ef3b5a3fa558dcaaef51b837e64ac61c268076b1ff11c23d03c12
Contents?: true
Size: 830 Bytes
Versions: 22
Compression:
Stored size: 830 Bytes
Contents
// RGB functions @function set-red($color, $red) { @return rgba($red, green($color), blue($color), alpha($color)); } @function set-green($color, $green) { @return rgba(red($color), $green, blue($color), alpha($color)); } @function set-blue($color, $blue) { @return rgba(red($color), green($color), $blue, alpha($color)); } // HSL Functions @function set-hue($color, $hue) { @return hsla($hue, saturation($color), lightness($color), alpha($color)); } @function set-saturation($color, $saturation) { @return hsla(hue($color), $saturation, lightness($color), alpha($color)); } @function set-lightness($color, $lightness) { @return hsla(hue($color), saturation($color), $lightness, alpha($color)); } @function set-alpha($color, $alpha) { @return hsla(hue($color), saturation($color), lightness($color), $alpha); }
Version data entries
22 entries across 22 versions & 2 rubygems