diff options
author | Volpeon <git@volpeon.ink> | 2024-10-14 16:15:34 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-14 16:15:34 +0200 |
commit | ef117e73dec37973b366722a56b2b5a17b9f0a2b (patch) | |
tree | e87dd64728ae8808e850e99319242333c5b4ce6e /src/_functions.scss | |
parent | More (diff) | |
download | iro-design-ef117e73dec37973b366722a56b2b5a17b9f0a2b.tar.gz iro-design-ef117e73dec37973b366722a56b2b5a17b9f0a2b.tar.bz2 iro-design-ef117e73dec37973b366722a56b2b5a17b9f0a2b.zip |
Color adjustments, borderless cards
Diffstat (limited to 'src/_functions.scss')
-rw-r--r-- | src/_functions.scss | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
93 | } | 93 | } |
94 | 94 | ||
95 | @if $chroma-range != 1 { | 95 | @if $chroma-range != 1 { |
96 | $c: if($ref-l > .5, math.clamp(0, math.div($contrast, $cmax), 1), -1 * math.clamp(-1, math.div($contrast, $cmax), 0)); | 96 | $c: if($ref-l > 50%, math.clamp(0, math.div($contrast, $cmax), 1), -1 * math.clamp(-1, math.div($contrast, $cmax), 0)); |
97 | $c: meta.call($chroma-easing, $c); | 97 | $c: meta.call($chroma-easing, $c); |
98 | $c: $chroma-range + (1 - $chroma-range) * $c; | 98 | $c: $chroma-range + (1 - $chroma-range) * $c; |
99 | } | 99 | } |