zx.theme is one atomic value — built with typograph’s theme(), the same function any theme uses.
Palette
z |
rgb("#D6F5D4") |
x |
rgb("#FBDCD8") |
fock |
rgb("#FCE1C8") |
h-fill |
rgb("#FFF3B0") |
mult |
rgb("#DADFE3") |
pauli-z |
same value as z (named separately so a project theme can restyle the Pauli-web highlight independently of the spider fill) |
pauli-x |
same value as x |
white, black |
white, black |
ideal |
rgb("#9D00FF") |
faulty |
rgb("#F76B15") |
Node presets
z, x, fock |
circle, shape-labelled: stadium |
min-size: 9pt, inset: 4pt |
w |
triangle |
min-size: 17pt, inset: 2pt |
h |
square, fill h-fill |
min-size: 8pt, inset: 2pt |
mult |
arrow, fill mult |
min-size: 11pt, inset: 3pt |
scalar |
bare |
label only |
state, effect |
flat-triangle |
share one visual preset; effect’s flip: true factory default is what mirrors it |
map |
trapezoid |
min-width: 10pt, min-height: 22pt, inset: 4pt |
Edge presets
plain |
(:) — the bare default stroke |
pauli-z |
highlight: palette.pauli-z |
pauli-x |
highlight: palette.pauli-x |
pauli-zx |
highlight: (palette.pauli-x, palette.pauli-z) |
ideal |
stroke: 0.9pt + palette.ideal |
faulty |
stroke: 0.9pt + palette.faulty |
classical |
stroke: (paint: palette.black, thickness: 0.9pt, dash: "dashed") |
thick |
stroke: 1.4pt + palette.black |
See Constructors for the node/edge functions these presets style, and Extending for restyling or adding to any of this.