Skip to content

START

Theme library

Every theme this book knows about: the three that ship, and whatever you have built and kept. Load one to wear it, copy or download it to take it away, and delete the ones you are done with.

Themes are made next door, in the theme builder β€” a whole page with every knob the library exposes down its side. Generate one from a single colour, tune what you like, name it, and it appears below. The three at the top ship with this book; everything under them lives in this browser's storage and nowhere else.

THEMES3 TO LOAD

LOAD applies a theme to every page of this book until you reset. COPY CSS puts both palettes on your clipboard as the blocks the Theming page documents, DOWNLOAD .CSS is the same thing as a file, and RESET puts the library's own colours back.

EXPORT .JSON and IMPORT live next door in the builder, because a file carries the recipe as well as the palette β€” the seed, the harmony and the dials that made it. A stylesheet is what a theme is; the recipe is how it got there.

THE BLOCKREADY TO PASTE

Whatever is loaded, written out. Shape and depth go in :root β€” one decision for the document β€” and the colours go in a block per ground.

/* load a theme to see it here */