# Typography

> Part of Tray UI 0.2.0, a design system in plain HTML and CSS (MIT licence). Every page: https://trayui.com/llms.txt

The type styles of the system: one family, Onest, in two voices, and the size, line height and weight of every class.

## Headings

| Class | Size | Line height | Weight | Tracking |
| --- | --- | --- | --- | --- |
| `.display` | 6rem | 0.96 | 700 | -0.045em |
| `.headline` | 4rem | 1.02 | 700 | -0.04em |
| `.title` | 2.5rem | 1.05 | 700 | -0.03em |
| `.subtitle` | 1.75rem | 1.15 | 700 | -0.02em |
| `.figure` | 7rem | 0.9 | 700 | -0.05em |

## Text

| Class | Size | Line height | Weight | Tracking |
| --- | --- | --- | --- | --- |
| `.lead` | 1.25rem | 1.4 | 400 |  |
| `.body` | 1.125rem | 1.45 | 400 |  |
| `.caption` | 0.875rem | 1.4 | 400 |  |
| `.tick` | 0.8125rem | 1 | 400 |  |

## Interface

| Class | Size | Line height | Weight | Tracking |
| --- | --- | --- | --- | --- |
| `.action` | 1.1875rem | 1.1 | 600 |  |
| `.control` | 1.0625rem | 1 | 600 |  |
| `.nav` | 1rem | 1.3 | 500 |  |
| `.label` | 0.9375rem | 1.3 | 500 |  |

## Code

| Class | Size | Line height | Weight | Tracking |
| --- | --- | --- | --- | --- |
| `.code` | 0.9375rem | 1.55 | 400 |  |
| `.kbd` | 0.8125rem | 1 | 500 |  |

## Families

- `--font-sans`: Onest, "Helvetica Neue", Arial, sans-serif
- `--font-mono`: ui-monospace, "SF Mono", Menlo, Consolas, monospace
