cuth / postcss-pxtorem

Convert pixel units to rem (root em) units using PostCSS
MIT License
2.03k stars 174 forks source link

feat: change rootValue to support both number and function #57

Closed johvin closed 4 years ago

johvin commented 4 years ago

change rootValue to support function type in order to make it possible to get different root values based on different files

johvin commented 4 years ago

@cuth Do you have any time to review this pr?

johvin commented 4 years ago

@cuth I also have very little free time because of a lot of business to do. Although I may not be very helpful, but we can have a try.

MillionQW commented 4 years ago

I hope this feat can publish to npm.

cuth commented 4 years ago

I just published 5.0.0