forked from sass-mq/sass-mq
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split `mq()` internals into a function and a mixin. Changed: - Moved core operations from the mixin to a function to allow for query-chaining with the `$and` parameter - Added support for the `or` operator (chainable) - Added `mq-stringify()` function, based on `sl-to-string()`, to allow for chaining of `$and` and `$or` parameters - Moved computation for `$from` and `$until` boundaries to a function, `mq-parse-breakpoint()`, since its now used 4 times; twice in the function and twice for rasterization - Added support for vertical media queries through `$media-feature` parameter of `mq()` function and mixin - Renamed references to `breakpoint-width` to `breakpoint-length` and `size` where concerned
- Loading branch information
Showing
5 changed files
with
251 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.