@economist/component-grid
v1.4.0
Published
CSS grid containing variables for vertical and horizontal margins, in variables.
Downloads
11
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 rem
s, 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 em
s.
For Available animals and sizes please refer to this file