]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
add error if user want to use a breakpoint which isn't defined in $breakpoints 8274/head
authorMatthias Koll <matthiaskoll@gmx.at>
Sun, 28 Feb 2016 20:03:35 +0000 (21:03 +0100)
committerMatthias Koll <matthiaskoll@gmx.at>
Sun, 28 Feb 2016 20:03:35 +0000 (21:03 +0100)
scss/util/_breakpoint.scss

index cfa08d43678322b5abdd67ec761c851f1af7c207..5418d99733c8bd906779e95bcf132463a4521a0e 100644 (file)
@@ -63,7 +63,7 @@ $breakpoint-classes: (small medium large) !default;
       $named: true;
     }
     @else {
-      $bp: 0;
+      @error 'Your given breakpoint "#{$val}" is not defined in your settings $breakpoints.';
     }
   }