From ef117e73dec37973b366722a56b2b5a17b9f0a2b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 14 Oct 2024 16:15:34 +0200 Subject: Color adjustments, borderless cards --- src/_functions.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/_functions.scss') diff --git a/src/_functions.scss b/src/_functions.scss index cbdb951..07d997b 100644 --- a/src/_functions.scss +++ b/src/_functions.scss @@ -93,7 +93,7 @@ } @if $chroma-range != 1 { - $c: if($ref-l > .5, math.clamp(0, math.div($contrast, $cmax), 1), -1 * math.clamp(-1, math.div($contrast, $cmax), 0)); + $c: if($ref-l > 50%, math.clamp(0, math.div($contrast, $cmax), 1), -1 * math.clamp(-1, math.div($contrast, $cmax), 0)); $c: meta.call($chroma-easing, $c); $c: $chroma-range + (1 - $chroma-range) * $c; } -- cgit v1.2.3-70-g09d2