From 97d705b733421829c443487b8ce85e23937e6652 Mon Sep 17 00:00:00 2001 From: Matthias Koll Date: Sun, 28 Feb 2016 21:03:35 +0100 Subject: [PATCH] add error if user want to use a breakpoint which isn't defined in $breakpoints --- scss/util/_breakpoint.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/util/_breakpoint.scss b/scss/util/_breakpoint.scss index cfa08d436..5418d9973 100644 --- a/scss/util/_breakpoint.scss +++ b/scss/util/_breakpoint.scss @@ -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.'; } } -- 2.47.2