CSS grid containing variables for vertical and horizontal margins, in variables.


001.4.04 years ago6 years agoMinified + gzip package size for @economist/component-grid in KB



Provides grid spacing variables, to be used by other components, in order for them to be consistent with each other.

The variables


Grid gutters are expressed in rems, and they describe the horizontal spacing used in the grid.


(Where {animal} is an animal)

This expresses the several possible sizes of (usually but not limited to) vertical spacing, in ems.

For Available animals and sizes please refer to this file

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.