kristoferjoseph / postcss-modular-scale

PostCSS plugin for adding modular scale to your styles
MIT License
53 stars 9 forks source link

Cannot use modular scale as the value of a shorthand property #17

Open wc-matteo opened 8 years ago

wc-matteo commented 8 years ago

Input

padding: 0 ms(1)rem;

Output

padding: 1rem;

Expected

padding: 0 1rem;

kristoferjoseph commented 8 years ago

yes, I chose to only support long hand for the initial release. I am open to a PR to support this though.