Skip to content

Commit 4cd8c37

Browse files
committed
refactor: replace map-values() with map.values()
1 parent 3902068 commit 4cd8c37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scss/functions/_assert.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@use "sass:list";
2+
@use "sass:map";
23
@use "sass:math";
34

45
// Ascending
@@ -23,7 +24,7 @@
2324
// Used to ensure the min-width of the lowest breakpoint starts at 0.
2425
@mixin assert-starts-at-zero($map, $map-name: "$grid-breakpoints") {
2526
@if length($map) > 0 {
26-
$values: map-values($map);
27+
$values: map.values($map);
2728
$first-value: list.nth($values, 1);
2829
@if $first-value != 0 {
2930
@warn "First breakpoint in #{$map-name} must start at 0, but starts at #{$first-value}.";

0 commit comments

Comments
 (0)