Basics.Int -> Basics.Float
A function that maps a font 'level' to a scaling from the default size.
Describes font sizes as a 'level'. The level is the number of steps from the base level at 1. A minimum number of rhythm lines is also specified, to aid vertical spacing.
typeScale : Basics.Float -> Basics.Int -> Basics.Float
Build a TypeScale function from a ratio between font levels.
minorSecond : TypeScale
The minor second ratio.
majorSecond : TypeScale
The major second ratio.
minorThird : TypeScale
The minor third ratio.
majorThird : TypeScale
The major third ratio.
perfectFourth : TypeScale
The perfect fourth ratio.
augmentedFourth : TypeScale
The augmented fourth ratio.
perfectFifth : TypeScale
The perfect fifth ratio.
goldenRatio : TypeScale
The golden ratio.
milli : FontSizeLevel
A level down from the base level.
base : FontSizeLevel
The base level
h1 : FontSizeLevel
The h1 level
h2 : FontSizeLevel
The h2 level
h3 : FontSizeLevel
The h3 level
h4 : FontSizeLevel
The h4 level