aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_functions.scss6
1 files changed, 1 insertions, 5 deletions
diff --git a/scss/_functions.scss b/scss/_functions.scss
index 41e99ec76..e867b5521 100644
--- a/scss/_functions.scss
+++ b/scss/_functions.scss
@@ -56,11 +56,7 @@
$yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000;
- @if ($yiq >= $yiq-contrasted-threshold) {
- @return $dark;
- } @else {
- @return $light;
- }
+ @return if($yiq >= $yiq-contrasted-threshold, $dark, $light);
}
// Retrieve color Sass maps