Sample Post — every component, in context
This is what a post looks like rendered with the active theme. Every block below uses real tokens from the palette, so swapping themes will flip everything you see here. Use it to spot any color that reads badly against its surface.
Body copy uses --subtext0. Bold goes to --text. Italic goes to --subtext1. Links use --blue with a faint underline derived from --blue-tint. Inline code sits inside a --blue-tint pill.
--blue, background is --blue mixed with --mantle at --alpha-callout. Use these for orientation, context, and "by the way" notes.
Headings, paragraphs, lists
H1 / H2 / H3 all sit on --text. Captions and metadata use --overlay2 — that's why the date above looks one shade quieter than the rest.
- Bullet lists exist. Body color is
--subtext0. - Bullets themselves inherit. Spacing is up to the post template.
- Don't worry about the markers — those come from the browser default.
--peach family. Soft background, full-saturation border. Use for caveats and gotchas.
Block quotes use a--blueleft border and--overlay2italic text. Quote whatever you want.
Code blocks
Code blocks sit on --code-bg with a --code-border outline and a --blue accent stripe on the left. The syntax tokens below pull from the accent palette directly:
// comment → --overlay2
const value = someFunction('string');
// keyword → --mauve string → --green
// number → --peach function → --blue
--green-strong family. The -strong companion is automatically derived as 15% darker than the base --green via --alpha-strong.
--red-strong family. Use for hard errors, broken builds, things you really don't want the reader to skim past.
Open questions and side notes
Two more callout flavors round out the set:
--mauve family. For open-ended threads, "anyone seen this?", future work.
Custom UI vs callouts
Sometimes a post needs a one-off colored panel that isn't a callout. The rule: pull from the source palette and inline color-mix(). Don't reach for --callout-* tokens — those belong to the callout component.
This block uses color-mix(in srgb, var(--red) var(--alpha-callout), var(--mantle)) for its background — same recipe as the danger callout, but written inline so it stays unambiguous about where the color comes from.
Buttons
Primary buttons sit on --blue with --on-accent text — that's the dark color that contrasts with every accent. Ghost buttons sit on --surface2 with the accent as foreground.