Instruction

How to Update Design Tokens

Every color, font, radius, and shadow value in this template is a Tailwind v4 theme token declared in the @theme block of src/styles/tokens.css. Change a token once and it updates everywhere its matching utility class is used.

  1. Open src/styles/tokens.css and scroll to the @theme block.
  2. Update the color tokens you want to change, for example:
    • --color-signal-400 through --color-signal-700 — the accent color used by buttons, links, and highlighted text.
    • --color-ink-950, --color-ink-900, --color-ink-850 — the dark background layers.
    • --color-paper-50, --color-paper-400 — heading and muted body text.
  3. Change the typography. Headings use Satoshi (self-hosted from public/fonts/ via @font-face in tokens.css) and body text uses Inter (loaded from Google Fonts in src/layouts/BaseLayout.astro). To swap a family, drop the new font files into public/fonts/, update the @font-face rules, then update --font-display / --font-body.
  4. Adjust the radius and shadow scale using the --radius-* and --shadow-* tokens.
  5. Save the file. The dev server hot-reloads instantly — no build step required.

Prefer a live reference? Open the Style Guide page to see every token rendered on screen.