# Radius and elevation

> Corner radii and the three shadow levels.

## Radius

Radius runs from `none` to `full`, which makes a pill or a circle.

| Token | Value | CSS variable |
| --- | --- | --- |
| `none` | 0px | `--aloxe-radius-none` |
| `xs` | 4px | `--aloxe-radius-xs` |
| `sm` | 6px | `--aloxe-radius-sm` |
| `md` | 8px | `--aloxe-radius-md` |
| `lg` | 12px | `--aloxe-radius-lg` |
| `xl` | 16px | `--aloxe-radius-xl` |
| `2xl` | 20px | `--aloxe-radius-2xl` |
| `full` | 9999px (pill) | `--aloxe-radius-full` |

With Tailwind, use `rounded-ax-md` and the other `ax` radius utilities.

## Elevation

Elevation has three levels. Each is built from one or two shadow layers that use the `shadow/key` and `shadow/ambient` colour tokens, so shadows are stronger in Dark.

| Level | Name | Use | Layers (x, y, blur, spread, colour) | CSS variable |
| --- | --- | --- | --- | --- |
| `1` | Raised | Cards and inputs resting on the canvas | 0 1 2 0 `shadow/key` | `--aloxe-elevation-1` |
| `2` | Floating | Menus, popovers, tooltips | 0 1 2 0 `shadow/key`; 0 8 24 0 `shadow/ambient` | `--aloxe-elevation-2` |
| `3` | Overlay | Dialogs and sheets above a scrim | 0 4 8 0 `shadow/key`; 0 24 48 0 `shadow/key` | `--aloxe-elevation-3` |

With Tailwind, use `shadow-ax-1`, `shadow-ax-2` and `shadow-ax-3`.

On dark surfaces, shadows are hard to see. Rely on the `border/subtle` and `bg/raised` tokens to separate layers, not on shadow alone.
