]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
more accurate -zf-zero-breakpoint error message 11103/head
authorAndy Cochran <acochran@planning.nyc.gov>
Wed, 28 Mar 2018 16:40:05 +0000 (12:40 -0400)
committerAndy Cochran <acochran@planning.nyc.gov>
Wed, 28 Mar 2018 16:40:05 +0000 (12:40 -0400)
scss/util/_breakpoint.scss

index 05cc9dd6b690841d8f4d7e3ba8e359e54dc856a8..253578321c66b66cfdae1da675e19d12feda05d0 100644 (file)
@@ -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);