Skip to content

Style guide

The parts Tarn is built from.

Colours for both themes, the type scale, controls and the lattice. Everything here comes from tokens/armature.tokens.json.

01Colour

Paper, graphite and one sodium accent.

Each token has a light and a dark value. Switch the theme to see the page change; the swatches show both.

  • Page

    --a-bg

    #f2f1ec · #0e0f0d

  • Band

    --a-bg-2

    #e9e7e0 · #151614

  • Card

    --a-panel

    #fbfaf7 · #1a1b18

  • Text

    --a-ink

    #151513 · #edebe4

  • Secondary text

    --a-muted

    #5c5b55 · #a09e96

  • Sodium

    --a-accent

    #e5471a · #ff6b3d

  • Accent text

    --a-accent-ink

    #b23a12 · #ff8a62

  • Success

    --a-ok

    #1f7a4c · #5fc48e

02Type

Two families, both upright.

Archivo, set wide, for headings and numbers. Geist for everything people read. No italics anywhere: emphasis comes from weight, size or colour.

  • Display

    Archivo 600, wide 112, 72 / 0.98, -3.5%

    Answers with sources

  • Title

    Archivo 600, wide 112, 48 / 1, -3.5%

    Answers with sources

  • Heading

    Archivo 600, wide 112, 26 / 1.15, -2.5%

    Answers with sources

  • Body large

    Geist 400, 18 / 1.65

    Answers with sources

  • Body

    Geist 400, 16 / 1.6

    Answers with sources

  • Small

    Geist 400, 14 / 1.5

    Answers with sources

03Controls

Buttons, fields and labels.

DefaultNewImprovedChip1

04Lattice

Three forms, one shader.

Set data-form on the canvas: 0 core for the home hero, 1 sheet for page heads, 2 ring for calls to action. Each follows the pointer and relights with the theme.

Coredata-form="0"
Sheetdata-form="1"
Ringdata-form="2"

05Marks and icons

A small lattice for a logo. Lucide for the rest.