Skip to content

Commit

Permalink
more accurate -zf-zero-breakpoint error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Cochran committed Mar 28, 2018
1 parent 7ea9dde commit 5d25a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/util/_breakpoint.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $-zf-zero-breakpoint: small !default;
$-zf-breakpoints-keys: map-to-list($breakpoints, 'keys');

@if nth(map-values($breakpoints), 1) != 0 {
@error 'Your smallest breakpoint (defined in $breakpoints) must be set to "0".';
@error 'The first key in the $breakpoints map must have a value of "0".';
}
@else {
$-zf-zero-breakpoint: nth(map-keys($breakpoints), 1);
Expand Down

0 comments on commit 5d25a09

Please sign in to comment.