Skip to content

Commit

Permalink
Merge pull request #1 from pigeonfresh/patch-1
Browse files Browse the repository at this point in the history
Add Error for use of unknown MediaQuery
  • Loading branch information
ThaNarie authored Nov 4, 2019
2 parents 7d65fe2 + b4a12fa commit 36b9e92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/mixin/_respond-to.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
@media #{map-get($mediaQueries, $name)} {
@content;
}
} @else {
@error "MediaQuery #{$name} does not exist";
}
}
}

0 comments on commit 36b9e92

Please sign in to comment.