Changelog
v6.0.0 - 2022-01-10
This is a major version bump that contains breaking changes. It adds support for the new Sass module system, drops support for Eyeglass, and drops support for deprecated versions of Sass. No new features were added.
See the updated README for instructions on how to use this new version of Sass MQ.
🙌 A huge thanks to Rodrigo for his contribution on this major release.
$mq-base-font-size
(https://github.com/sass-mq/sass-mq/pull/123)$mq-responsive
$mq-static-breakpoint
sass:math.div(...)
instead of /
get-breakpoint-width
: added @return null
when no breakpoint could be found (a function must always return something, or Sass will throw an error).map-*
global functions in favor of the built-in module map.*
(for example: map-keys()
➡️ map.keys()
).px2em
: removed param $base-font-size
(deprecated in v5.0.1), and use 16px instead.unit()
in favor of math.compatible()
, as the unit()
function is intended for debugging, and its output format is not guaranteed to be consistent across Sass versions or implementations.map-merge
➡️ map.merge
, append
➡️ list.append
)