- 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