pascalduez / postcss-map

PostCSS plugin enabling configuration maps
The Unlicense
121 stars 7 forks source link

Doesn't work with "and" values of postcss-custom-media #8

Closed timkelty closed 9 years ago

timkelty commented 9 years ago
@custom-media --sm-viewport (width >= map(breakpoints, sm)) and (width <= map(breakpoints, md));
@custom-media --md-viewport (width >= map(breakpoints, md)) and (width <= map(breakpoints, lg));
@custom-media --lg-viewport (width >= map(breakpoints, lg));

Yields:

@custom-media --sm-viewport (width >= 320px) and (width <= map(breakpoints, md));
@custom-media --md-viewport (width >= 640px) and (width <= map(breakpoints, lg));
@custom-media --lg-viewport (width >= 980px);
pascalduez commented 9 years ago

Fixed in 0.3.0

Thanks for reporting.