From 04f8e9dbdc57a53f004e6238dfacc917bafdbbff Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 24 Jun 2024 16:53:34 +0200 Subject: Fuck --- src/_functions.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/_functions.scss b/src/_functions.scss index fe28088..fa6ed39 100644 --- a/src/_functions.scss +++ b/src/_functions.scss @@ -359,9 +359,11 @@ $units: ( /// @function to-length($value, $unit) { @if not list.index(map.keys($units), $unit) { - @error 'Invalid unit `#{$unit} + @error 'Invalid unit `#{$unit}`.'; + } @return $value * map.get($units, $unit); + } /// /// A mixin with the sole purpose of letting you use temporary variables without polluting the global namespace. @@ -370,6 +372,4 @@ $units: ( /// @mixin execute { @content; -}`.'; - } - } +} -- cgit v1.2.3-70-g09d2