# Foundations

Page: /docs/foundations

Start with the foundation that matches your decision. Each page combines visual examples, usage guidance from Figma and the exact tokens available in code. Most foundations are Pathfinder’s; each page says what Meridian adds.

<LinkCards>
  <LinkCard title="Color" href="/docs/foundations/color">The 38 Meridian tokens by job, and the Pathfinder scales behind them.</LinkCard>
  <LinkCard title="Typography" href="/docs/foundations/typography">Baskervville and Inter, the website roles and the UI styles.</LinkCard>
  <LinkCard title="Spacing, sizing, elevation" href="/docs/foundations/spacing">Spacing steps, corner radii, control heights, icon sizes, shadows and stroke widths.</LinkCard>
  <LinkCard title="Layout guidance" href="/docs/foundations/layout">The four website grids and the spans that land on them.</LinkCard>
  <LinkCard title="Motion" href="/docs/foundations/motion">Springs, durations, easings and the recipes built from them.</LinkCard>
</LinkCards>

Icons, flags and logos are under [Assets](/docs/assets/icons).

## Use in your application [#use-in-your-application]

The website imports the tokens once, in its global stylesheet. Components bring their own Pathfinder styles.

```css
@import "@commenda/meridian/styles/tokens.css";
@import "@commenda/meridian/styles/theme-default.css";
```

## How to use these references [#how-to-use-these-references]

Use a token by its job, never a raw value: `--color-text-secondary`, not `#57524d`. When a page shows a Pathfinder variable (`--pf-spacing-xl`), that is the token to use; Meridian adds its own only where Figma does.
