Skip to article
SpiroChette
Category · web
Reserved panel

Future content type.

web · Altitude A2

Tokens, not values

Why every colour, size and font in a theme comes from one token file.

Published
2026-11-22
Updated
2026-11-25
Altitude
A2
cssastro

Sample article for theme testing (provisional). 02-Content replaces it.

One file of values

A theme keeps every visual value in one stylesheet of custom properties. Components read those properties and never write a colour or size of their own.

Token Value Used for
--spiro-accent blue Links, active items, focus
--spiro-accent-2 cyan Kicker, TOC marker, note callout
--spiro-brand-mark dark blue The second half of the brand mark

Why it pays off

Changing the look means editing one file. A second theme is a second token file with the same names.

Note — Code colours are tokens too, so the highlighter and the page agree.