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

Version Path
card-mod-bootstrap-0.18.1 vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss
card-mod-bootstrap-0.18.0 vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss
card-mod-bootstrap-0.17.0 vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss
card-mod-bootstrap-0.16.0 vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss
card-mod-bootstrap-0.15.6 vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss
card-mod-bootstrap-0.15.5 vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss
card-mod-bootstrap-0.15.4 vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss
card-mod-bootstrap-0.15.3 vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss
card-mod-bootstrap-0.15.1.2 vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss
card-mod-bootstrap-0.15.2.pre1 vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss
card-mod-bootstrap-0.15.1.1 vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss
card-mod-bootstrap-0.15.1 vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss
card-mod-bootstrap-0.15.0 vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_color-adjustments.scss
color-schemer-0.2.8 stylesheets/color-schemer/_color-adjustments.scss
color-schemer-0.2.7 stylesheets/color-schemer/_color-adjustments.scss
color-schemer-0.2.6 stylesheets/color-schemer/_color-adjustments.scss
color-schemer-0.2.5 stylesheets/color-schemer/_color-adjustments.scss
color-schemer-0.2.4 stylesheets/color-schemer/_color-adjustments.scss
color-schemer-0.2.3 stylesheets/color-schemer/_color-adjustments.scss
color-schemer-0.2.2 stylesheets/color-schemer/_color-adjustments.scss