diff --git a/scss/vendor/color-schemer/color-schemer/_ryb.scss b/scss/vendor/color-schemer/color-schemer/_ryb.scss index 1a6de0e..666af72 100755 --- a/scss/vendor/color-schemer/color-schemer/_ryb.scss +++ b/scss/vendor/color-schemer/color-schemer/_ryb.scss @@ -48,10 +48,10 @@ $ryb-offset: 0 1 2 3 5 6 7 8 9 10 11 13 14 15 16 17 18 19 19 20 21 21 22 23 23 2 @if $red >= $yellow and $red >= $blue { $hue: 0; } - @elseif $yellow >= $red and $yellow >= $blue { + @else if $yellow >= $red and $yellow >= $blue { $hue: 360 / 3; } - @elseif $blue >= $red and $blue >= $yellow { + @else if $blue >= $red and $blue >= $yellow { $hue: 360 / 3 * 2; } @return hsla(hue(cs-interpolate($hue)), 100%, 50%, 1); @@ -73,4 +73,4 @@ $ryb-offset: 0 1 2 3 5 6 7 8 9 10 11 13 14 15 16 17 18 19 19 20 21 21 22 23 23 2 // Returns the inverse of a color. @function ryb-invert($color) { @return ryb-adjust-hue(hsl(hue($color), saturation(invert($color)), lightness(invert($color))), 180deg); -} \ No newline at end of file +}