css-scale
Scalar CSS variables. Useful to quickly prototype interfaces using consistent values. Extracted from gravitons.
Installation
$ npm install css-scale
Usage
With sheetify installed do:
;
API
s{1..4}
A size value in rem
. Useful for setting margins, offsets and other sizes.
h{1..6}
A heading value in rem
. Useful for setting font-sizes and line-heights.