postcss-responsive-type icon indicating copy to clipboard operation
postcss-responsive-type copied to clipboard

Default media queries being added when using rems to set font sizes

Open CoralSilver opened this issue 7 years ago • 1 comments

When using rems to set font sizes, (and ems to set breakpoints), two media queries are being generated for each selector. One using the defaults, and a second using the declared breakpoints. If I switch to using ems, the media queries only get declared once, but I want to size font in rems.

CoralSilver avatar Dec 19 '17 20:12 CoralSilver

Hmm that's strange, thanks for reporting. That whole section of logic really needs to be cleaned up, there were a bunch of PRs made a while ago that tangled things up. I'll try take a look soon.

madeleineostoja avatar Dec 19 '17 23:12 madeleineostoja