summaryrefslogtreecommitdiffstats
path: root/src/_functions.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-10-14 16:15:34 +0200
committerVolpeon <git@volpeon.ink>2024-10-14 16:15:34 +0200
commitef117e73dec37973b366722a56b2b5a17b9f0a2b (patch)
treee87dd64728ae8808e850e99319242333c5b4ce6e /src/_functions.scss
parentMore (diff)
downloadiro-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.scss2
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 }