① Typography Scale

Display Heading (--text-2xl)

Page Title (--text-xl)

Section Heading (--text-lg)

Body text at --text-base. Readable, comfortable, 16–18 px range. This is what all body copy looks like across every page on the site.

Small text (--text-sm) — used in nav links, card CTAs, and captions.

Tiny label (--text-xs) — metadata, demo labels, badges.

② Colour Tokens

--color-bg
--color-surface
--color-surface-2
--color-accent
--color-text
--color-text-muted

Toggle dark/light with the button in the header to see how tokens adapt automatically.

③ Card Blocks — use class="card-block" on an <a> tag

④ Back Button & Tag Pills

Design Networking Minecraft Cats

⑤ Theme Toggle

The sun/moon icon in the header toggles dark ↔ light mode. The preference is saved in localStorage so it persists across page loads and all pages.

← Also works as a standalone button

⑥ Prose / Article Layout — wrap content in <main class="prose">

Example Section Heading

This is body text inside a prose container. It has a comfortable max-width of 640 px, generous line-height, and the muted text colour automatically.

This is an italic-note — used above a list.

  • List item one with disc bullet
  • List item two — same spacing across all pages
  • List item three

An inline accent link inside prose text. Hover to see the colour shift.

⑦ Token Quick Reference

TokenPurpose
--color-bgPage background
--color-surfaceCard / header surface
--color-textPrimary body text
--color-text-mutedSecondary / description text
--color-text-faintMetadata / placeholder text
--color-accentBrand orange — links, CTAs, pills
--color-borderSubtle dividing lines
--space-1--space-204 px spacing scale
--radius-sm/md/lg/fullBorder-radius tokens
--transitionStandard easing curve
--shadow-sm/md/lgBox-shadow levels
--font-bodyBody typeface (Inter)