Typography
Foundations in type
Last updated
Foundations in type
Last updated
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
.
Property group | Applies to |
---|---|
|
|
Property | Value | Equivalent to |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
).
Property group | Applies to |
---|---|
|
|
Property | Value | Range |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Base font stacks as better alternatives to browser defaults, designed for rapid prototyping and to be overridden as your project grows.
Property group | Applies to |
---|---|
|
|
Property | Value |
---|---|
|
|
|
|
|
|
Consistent font weights across an interface
Property group | Applies to |
---|---|
|
|
Property | Value |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Encourage consistent line heights across an interface, applied as unitless values to scale with font size.
Property group | Applies to |
---|---|
|
|
Property | Value |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Encourage consistent letter spacing across an interface, applied as em
units relative to the text's size
Property group | Applies to |
---|---|
|
|
Property | Value |
---|---|
|
|
|
|
|
|
|
|
|
|
Max-widths optimised for legibility of large blocks of text, based on the font and font-size of content.
Property group | Applies to |
---|---|
|
|
Property | Value | Measure |
---|---|---|
|
| 45 letters |
|
| 55 letters |
|
| 65 letters |
|
| 75 letters |
|
| 85 letters |