Typography
Foundations in type
Modular Scale
Pollen provides a robust modular typography scale to encourage consistent typography sizing across an interface. Sizes are set in rem
units to support proper font scaling, and assume a 16px
root font-size
.
Fluid Modular Scale
In addition to the standard modular typographic scale above, Pollen also comes with a fluid scale that tweens between steps on the scale as screen width changes. Its built with Pollen's own fluid utility, which generates complex CSS clamp()
functions based on screen width bounds.
Each fluid font size resizes between a min and max size, starting at mobile screen sizes (480px
) and ending at normal desktop screen sizes (1280px
).
Font Families
Base font stacks as better alternatives to browser defaults, designed for rapid prototyping and to be overridden as your project grows.
Font Weights
Consistent font weights across an interface
Line Height
Encourage consistent line heights across an interface, applied as unitless values to scale with font size.
Letter Spacing
Encourage consistent letter spacing across an interface, applied as em
units relative to the text's size
Prose Width
Max-widths optimised for legibility of large blocks of text, based on the font and font-size of content.
Last updated