Presets
Five starting points for a site's brand: accent, neutral, corner radius, and density, each shown live.
A preset is one JSON file of brand options in tokens/presets/. Name it in theme.options.preset
and override single values under theme.options.brand. Every preset is held to the same contrast
test in both themes, so a preset never ships an unreadable pair.
The sample below every heading is the theme's own markup and tokens under that preset's values. The
blocked code under it is what you copy into mizzen.yml. None of the previews changes the page around
them.
Clay
Warm, roomy, and rounded: an earth accent with large corners.
Build docs that read well
The home page of a site on this preset.
Body text
Muted text
A linkPrimary actionSelectedconst answer = 42;Copy these options
theme:
options:
preset: clayGraphite
Grey, dense, and square: a neutral accent for reference-heavy sites.
Build docs that read well
The home page of a site on this preset.
Body text
Muted text
A linkPrimary actionSelectedconst answer = 42;Copy these options
theme:
options:
preset: graphiteHarbor
Cool and calm: a blue accent with the shipped corner scale.
Build docs that read well
The home page of a site on this preset.
Body text
Muted text
A linkPrimary actionSelectedconst answer = 42;Copy these options
theme:
options:
preset: harborOrchard
Green and compact-cornered: a calm accent for guides and handbooks.
Build docs that read well
The home page of a site on this preset.
Body text
Muted text
A linkPrimary actionSelectedconst answer = 42;Copy these options
theme:
options:
preset: orchardPlum
A soft violet accent with the shipped corner scale.
Build docs that read well
The home page of a site on this preset.
Body text
Muted text
A linkPrimary actionSelectedconst answer = 42;Copy these options
theme:
options:
preset: plumWrite your own
A brand without a preset is just as valid; set only the values you want to change.
theme:
options:
brand:
accent: "#0b6e4f"
radius: small
The full list of options, the contrast rule, and what stays fixed are on Brand options.