nsbno/spor-design-tokens-elm/1.0.2

NOTE: the latest version is 2.0.0

Spor.Token.Size.Spacing

This module was automaticly generated by the spor-design-tokens project.

type Spacing

An opaque type representing a Spacing value.

toCss : Spacing -> Px

Convert Spacing into Css.Px.

3px. This is 0.5x the base size. Should only be used as baseline grid

6px. This is the base value - all others are multiples of this

9px. This 1.5x the base size

12px. This is 2x the base size

18px. This is 3x the base size

24px. This is 4x the base size

30px. This is 5x the base size

36px. This is 6x the base size

42px. This is 7x the base size

54px. This is 9x the base size

72px. This is 12x the base size

90px. This is 15x the base size

120px. This is 20x the base size

180px. This is 30x the base size