We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
map-values()
map.values()
1 parent 3902068 commit 4cd8c37Copy full SHA for 4cd8c37
scss/functions/_assert.scss
@@ -1,4 +1,5 @@
1
@use "sass:list";
2
+@use "sass:map";
3
@use "sass:math";
4
5
// Ascending
@@ -23,7 +24,7 @@
23
24
// Used to ensure the min-width of the lowest breakpoint starts at 0.
25
@mixin assert-starts-at-zero($map, $map-name: "$grid-breakpoints") {
26
@if length($map) > 0 {
- $values: map-values($map);
27
+ $values: map.values($map);
28
$first-value: list.nth($values, 1);
29
@if $first-value != 0 {
30
@warn "First breakpoint in #{$map-name} must start at 0, but starts at #{$first-value}.";
0 commit comments