Typographies
Atomic classes for managing an elementβs typography styling.
Font-style
πClass | CSS |
---|---|
.fs-normal |
font-style: normal; |
.fs-italic |
font-style: italic; |
.fs-unset |
font-style: unset; |
Text-transform
πClass | CSS |
---|---|
.tt-capitalize |
text-transform: capitalize; |
.tt-lowercase |
text-transform: lowercase; |
.tt-uppercase |
text-transform: uppercase; |
.tt-none |
text-transform: none; |
.tt-unset |
text-transform: unset; |
Text-decoration
πClass | CSS |
---|---|
.td-none |
text-decoration: none; |
.td-underline |
text-decoration: underline; |
.td-line-through |
text-decoration: line-through; |
Font-weight
πClass | CSS |
---|---|
.fw-300e |
font-weight: 300; |
.fw-400 |
font-weight: 400; |
.fw-500 |
font-weight: 500; |
.fw-600 |
font-weight: 600; |
.fw-700 |
font-weight: 700; |
.fw-800 |
font-weight: 800; |
.fw-900 |
font-weight: 900; |
Text-align
πClass | CSS |
---|---|
.ta-left |
text-align: left; |
.ta-center |
text-align: center; |
.ta-right |
text-align: right; |
.ta-justify |
text-align: justify; |
.ta-unset |
text-align: unset; |
font-size
πClass | Usage |
---|---|
.fs-canon |
Hero or blog post title |
.fs-trafalgar |
Article title or section header |
.fs-paragon |
Primary headline on indexes |
.fs-double-pica |
Sub header |
.fs-great-primer |
Headline title or subtitle |
.fs-body-copy |
Article body copy only |
.fs-pica |
Index links, titles & headlines |
.fs-long-primer |
Index body copy & image captions |
.fs-brevier |
Time stamps and bylines |
.fs-minion |
Small header capitals |
Additional sizes for larger contexts
πClass | Usage |
---|---|
.fs-atlas |
Hero headlines, large display text |
.fs-elephant |
Large headlines, feature titles |
.fs-imperial |
Major section headers |
.fs-royal |
Page titles, important headings |
.fs-foolscap |
Subsection headers |
White-space
πClass | CSS |
---|---|
.ws-normal |
white-space: normal; |
.ws-nowrap |
white-space: nowrap; |
.ws-pre |
white-space: pre; |
.ws-pre-wrap |
white-space: pre-wrap; |
.ws-pre-line |
white-space: pre-line; |
.ws-unset |
white-space: unset; |
Word-break
πClass | CSS |
---|---|
.wb-normal |
word-break: normal; |
.wb-break-all |
word-break: break-all; |
.wb-keep-all |
word-break: pre; |
.wb-inherit |
word-break: inherit; |
.wb-initial |
word-break: initial; |
.wb-unset |
word-break: unset; |
Overflow-wrap
πClass | CSS |
---|---|
.ow-normal |
overflow-wrap: normal; |
.ow-break-word |
overflow-wrap: break-word; |
.ow-inherit |
overflow-wrap: inherit; |
.ow-initial |
overflow-wrap: initial; |
.ow-unset |
overflow-wrap: unset; |
Word-wraps
πClass | CSS |
---|---|
.ww-break-word |
word-wraps: break-word; |
Hyphens
πClass | CSS |
---|---|
.hyphens-normal |
hyphens: normal; |
.hyphens-auto |
hyphens: auto; |
.hyphens-unset |
hyphens: unset; |
Customization
Override typography variables: