- Change Moved variable settings to new Breakpoint settings. Future versions will deprecate variable settings. Use
@include breakpoint-set()
or@include bkpt-set()
to change settings,@include breakpoint-reset()
or@include bkpt-reset()
to reset settings to their default state. Please update your settings as followins:$breakpoint-default-media: value;
should become@include bkpt-set('default media', value);
$breakpoint-default-feature: value;
should become@include bkpt-set('default feature', value);
$breakpoint-default-pair: value;
should become@include bkpt-set('default pair', value);
$breakpoint-force-media-all: value;
should become@include bkpt-set('force all media type', value);
$breakpoint-to-ems: value;
should become@include bkpt-set('to ems', value);
$breakpoint-resolutions: value;
should become@include bkpt-set('transform resolutions', value);
$breakpoint-no-queries: value;
should become@include bkpt-set('no queries', value);
$breakpoint-no query fallbacks: value;
should become@include bkpt-set('no query fallbacks', value);
$breakpoint-base-font-size: value;
should become@include bkpt-set('base font size', value);
$breakpoint-legacy-syntax: value;
should become@include bkpt-set('legacy syntax', value);
- Change Adding breakpoints for
respond-to
should now be done through the mixin@include add-breakpoint()
instead of the function call$breakpoints: add-breakpoint()
. Future versions will deprecate function. - New Initial support for Libsass 3.1
- fix simple or queries
- convert respond-to to use sass maps
- convert context to use sass maps
- fix fallback support for 1.x
- Looks like we forgot release notes for 2.0. oops
- better conversion to base-ems
- fix floating point error
- Added ability to force the 'all' media type to be written by setting
$breakpoint-force-media-all: true;
. Defaults tofalse
. - Added ability to generate no query fallback code. See the README for full documentaiton.
- Added (forgot to include the first time) the ability to query the media type using
breakpoint-get-context('media')
- Added function
breakpoint-get-context($feature)
to allow users to get the current media query context
- Refixed our 'device-pixel-ratio' conversions because, frankly, the w3c was wrong.
- fixed bugs that caused single and triple value single queries to fail. Also bugs with stacking single and triple value queries.
- fixed logic error that would print multiple instences of a media type
- Refactor of the underlying logic to make everything work better and make the world a happy place.
- Added default options for Default Feature, Default Media, and Default Feature Pair.
- Changed default media from "Screen" to "All".
- Added ability to have all px/pt/percentage media queries transformed into em based media queries.
- Rewrote 'device-pixel-ratio' conversions to change from prefixed nightmarish hell to Resolution standard based on the W3C Unprefixing -webkit-device-pixel-ratio article
- Large README update covering feature set, installation, assumptions, and more.
- Converted from Sass to SCSS
- Converted README examples from Sass to SCSS
- Added ability to do min/max easily with any valid feature
- Added prefixing for "device-pixel-ratio" feature for the three implementations (-webkit, -moz, -o) as well as a standard version for future friendliness
- -moz's min/max is different than -webkit or -o, so prefixed differently
- Opera is strange and needs its DPR in a ratio instead of a floating point number, so requires the fraction rubygem and has a numerator/denominator function to accommodate.
- Added ability to have single feature/value input be either have feature first or second
- extract breakpoint from survival kit to this gem