Skip to content
Snippets Groups Projects
Commit 06761b29 authored by John Ferris's avatar John Ferris Committed by Jennifer Dust
Browse files

Issue #3414884 by pixelwhip: Add error handling for bp mixins

parent 207ae455
No related branches found
No related tags found
1 merge request!91Update file _breakpoints.scss
......@@ -15,6 +15,7 @@
// 01 - Imports
//------------------------------------
@use 'sass:map';
@use '../settings/breakpoints' as settings-breakpoints;
@use '../functions/breakpoints' as functions-breakpoints;
......@@ -36,7 +37,7 @@
@content;
}
} @else {
@content;
@error '[ #{$name} ] is not defined in $breakpoints. Found: [ #{map.keys($breakpoints)} ]. Make sure the breakpoint you are trying to use is defined.';
}
}
......@@ -58,7 +59,7 @@
@content;
}
} @else {
@content;
@error '[ #{$name} ] is not defined in $breakpoints. Found: [ #{map.keys($breakpoints)} ]. Make sure the breakpoint you are trying to use is defined.';
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment