Colors and Fonts

Brand colours and fonts are set in one file, src/config/theme.json (Astroplate key names, so Sitepins CMS can edit it):

Key Used for
colors.theme_color.primary accent: buttons, menu toggle, highlights, hero glow (bg-accent)
colors.theme_color.primary_hover / primary_pressed / primary_muted accent states (accent-hover, accent-pressed, accent-muted)
colors.theme_color.secondary dark brown surfaces (chocolate)
colors.theme_color.body page background (background-2) and the browser theme-color
colors.theme_color.light light section background (background-1)
colors.theme_color.error form errors
colors.text_color.text_light / text_dark cream and black text (light, dark, and their /54, /24 … steps)
fonts.font_family.body main font, e.g. "Manrope:wght@400;500;600" (Google Fonts name, then weights)
fonts.font_family.label mono font for labels and buttons, e.g. "Geist Mono:wght@500"
fonts.font_family.<role>_type fallback family: sans-serif, serif or monospace

src/lib/utils/theme.ts reads the file at build time. src/layouts/base.astro writes the colours as --theme-* CSS variables, the tokens in variables.css point at them, and astro.config.ts loads the fonts from Google Fonts with the names and weights given. Change a value, rebuild, and the whole site follows. Use another colour in a component through its token (bg-accent, text-light/54), not a hex code.

Improve this page on Github  — Last updated:  Wed, Nov 18, 2026