From 14f85b1899ae57edc3733bb39a9d311463f7c94a Mon Sep 17 00:00:00 2001
From: Volpeon <git@volpeon.ink>
Date: Sun, 20 Oct 2024 12:21:51 +0200
Subject: Fix

---
 src/_functions.scss | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src')

diff --git a/src/_functions.scss b/src/_functions.scss
index fa6ed39..0d139b4 100644
--- a/src/_functions.scss
+++ b/src/_functions.scss
@@ -333,7 +333,7 @@ $units: (
         $character: string.slice($value, $i, $i);
         
         @if not list.index(map.keys($numbers), $character) and $character != '.' {
-            @return to-length(if($minus, -$result, $result), string.slice($value, $i))
+            @return to-length(if($minus, -$result, $result), string.slice($value, $i));
         }
         
         @if $character == '.' {
@@ -359,11 +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.
-- 
cgit v1.2.3-70-g09d2