Skip to content

Commit

Permalink
refactor: use the internal map.get function
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke committed Nov 18, 2024
1 parent 99617e2 commit 99301de
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@charset "utf-8";
@use "sass:map";
@use "sass:math";

@import "loading-indicator.variables";
Expand All @@ -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);
}
}
}
Expand Down

0 comments on commit 99301de

Please sign in to comment.