Themes

A theme sets a deck's fonts and colors. Pick one in deck.json, and style anything else in style.css. New decks start on paper@1.

{
  "title": "Quarterly review",
  "theme": "ink@1",
  "slides": [
    {
      "file": "slides/cover.mdx"
    }
  ]
}

Paper paper@1

Fraunces for headings, Inter for text

  • Background#f6f1e7
  • Text#1d1a16
  • Muted#6f675c
  • Accent#c2410c
  • Surface#ebe3d3

Ink ink@1

Space Grotesk for headings, Inter for text

  • Background#0e0f12
  • Text#f2f2f0
  • Muted#9a9ca3
  • Accent#7dd3fc
  • Surface#1b1d22

Mono mono@1

IBM Plex Mono for headings, IBM Plex Sans for text

  • Background#ffffff
  • Text#111111
  • Muted#6b6b6b
  • Accent#2563eb
  • Surface#f1f1f1

Bold bold@1

Archivo Black for headings, Archivo for text

  • Background#ffd60a
  • Text#111111
  • Muted#4a4115
  • Accent#111111
  • Surface#f5c800

Forest forest@1

Instrument Serif for headings, DM Sans for text

  • Background#13241c
  • Text#ecf2ea
  • Muted#9db3a5
  • Accent#e9c46a
  • Surface#1c3328

CSS variables

Every theme sets the same variables. Use them in style.css and your own components to stay on theme, or override them to change the look:

:root {
  --bg: #f6f1e7;
  --fg: #1d1a16;
  --muted: #6f675c;
  --accent: #c2410c;
  --surface: #ebe3d3;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

Google Fonts load with @import at the top of style.css; then point --font-display or --font-body at them.

Versions

Theme ids carry a version, like paper@1. A released version never changes, so a deck looks the same however often it is republished. Restyling a theme ships a new version, and decks move to it only when their deck.json says so. A bare name means version 1 (ink is ink@1), and a deck with no theme uses paper@1.