From b4a12facf80d296eb262ecf4b0fe00ddacd773dc Mon Sep 17 00:00:00 2001 From: Eelke van der Bij Date: Thu, 12 Sep 2019 15:34:27 -0300 Subject: [PATCH] Add Error for use of unknown MediaQuery --- utils/mixin/_respond-to.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/mixin/_respond-to.scss b/utils/mixin/_respond-to.scss index fc0b288..48c7add 100644 --- a/utils/mixin/_respond-to.scss +++ b/utils/mixin/_respond-to.scss @@ -8,5 +8,8 @@ @media #{map-get($mediaQueries, $name)} { @content; } + } @else { + @error "MediaQuery #{$name} does not exist"; } + } }