postcss-vertical-rhythm
postcss-vertical-rhythm copied to clipboard
Why is 16px silently assumed instead of the actual font size?
I am puzzled why the hard-coded 16 is used:
https://github.com/markgoodyear/postcss-vertical-rhythm/blob/master/index.js#L11
Isn't it meant to work with any font size? Am I missing anything?
I guess it's assuming only the font-size provided by the browser, which is by default 16 in most cases. And since it's working with the root size it doesn't matter if the user/developer uses another size.