From 99301de6341c8cc45fb4fa94014696deea225ad9 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Mon, 11 Nov 2024 22:09:46 +0100 Subject: [PATCH] refactor: use the internal map.get function --- .../01-elements/loading-indicator/loading-indicator.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/_patterns/01-elements/loading-indicator/loading-indicator.scss b/source/_patterns/01-elements/loading-indicator/loading-indicator.scss index a59d1965ec..58bf95bdc9 100644 --- a/source/_patterns/01-elements/loading-indicator/loading-indicator.scss +++ b/source/_patterns/01-elements/loading-indicator/loading-indicator.scss @@ -1,4 +1,5 @@ @charset "utf-8"; +@use "sass:map"; @use "sass:math"; @import "loading-indicator.variables"; @@ -17,12 +18,12 @@ &%size-#{$size} { --loadingindicator--stroke-width: #{math.div( 44px, - map-get($db-spinner-sizes, $size) + map.get($db-spinner-sizes, $size) ) * $stroke-width}; --loadingindicator--r: 19px; - height: map-get($db-spinner-sizes, $size); - width: map-get($db-spinner-sizes, $size); + height: map.get($db-spinner-sizes, $size); + width: map.get($db-spinner-sizes, $size); } } }