---
title: Content text
description:
Text is designed to be used for content text. It is a versatile and flexible
set of site fonts that can be used for a wide range of purposes.
---
Text is designed to be used for content text. It is a versatile and flexible
set of site fonts that can be used for a wide range of purposes, from body text to
headings and image captions.
Text is divided into different sets, each with its own unique style and purpose.
```html nocode
Heading
Display
Summary
Body
Image Caption
Quotation
Table Caption
Table
```
## Variants
Variants of a text style are named 01, 02, 03, etc.
For headings there is no need to assign a certain variant number to the HTML `` element with the same number.
Look at the variant numbers as a size and style indicator rather than a specific element type.
When designing a website you may for example choose to use the 02 variant as a default size for an `
` element and then
use the 01 variant for specific cases where you might want to display a larger heading.
## Heading style sets
The Heading and Display style sets are used for titles and headings.
There are six and three different heading styles available respectively.
```html
Heading / 01
Heading / 02
Heading / 03
Heading / 04
Heading / 05
Heading / 06
Display / 01
Display / 02
Display / 03
```
## Body text style sets
The Body, Summary, Quotation and Table style sets are used for different types of body text.
```html
Summary / 01
Body / 01
Body / 02
Body / 03
Body / 04
Quotation / 01
Quotation / 02
```
## Specialized text style sets
For image captions and table text there are specialized styles available.
```html
Caption / 01
```
When using the `env-table` component, the table text styles will be used by default, no further
classes are needed.
```html
Envision table
Name
Username
Email
John Doe
johdoe
john@doe.com
Jane Doe
jandoe
jane@doe.com
```
For other tables, the table text styles can be used by adding the Table text style classes to the
appropriate table elements.
```html
Custom table using Table text style
Name
Username
Email
John Doe
johdoe
john@doe.com
Jane Doe
jandoe
jane@doe.com
```
## Styling
All variants of a font will have its own set of variables that can be used to style the text. Below is a list of the variables.
- `--env-text-{name}-font-family`
- `--env-text-{name}-font-size`
- `--env-text-{name}-font-weight`
- `--env-text-{name}-font-style`
- `--env-text-{name}-line-height`
- `--env-text-{name}-text-transform`
- `--env-text-{name}-letter-spacing`
- `--env-text-{name}-font-color`
- `--env-text-{name}-margin-block-start`
- `--env-text-{name}-margin-block-end`
Possible values for `{name}`: `heading-01`, `heading-02`, `heading-03`, `heading-04`, `heading-05`, `heading-06`,
`display-01`, `display-02`, `display-03`, `summary-01`, `body-01`, `body-02`, `body-03`, `body-04`,
`caption-01`,`quotation-01`, `quotation-02`, `table-caption-01`, `table-heading-01`, `table-data-01`.
## Links
All sets and styles will in the default settings use the
«default link styling».
```html
```
Link color and underline may be adjusted as fit for each style in a set using the following classes where name is the name of the font style:
- `--env-text-{name}-link-font-color`
- `--env-text-{name}-link-text-decoration`
- `--env-text-{name}-link-hover-font-color`
- `--env-text-{name}-link-hover-text-decoration`
## Example
Here is a link to [an example article](/examples/article-text) that uses many of the above the text styles.