@economist/component-grid

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

Stats

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

Readme

component-grid

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

The variables

--grid-gutter-(s/m/l)

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

--grid-spacing-{animal}

(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.