// The colours the pages are drawn in, as the viewer chose at // /settings/appearance. The browser keeps the choice in a cookie, `theme`, // which the server reads and writes on as `data-theme` // (src/hooks.server.ts), so a page comes in its theme from the first paint; // with none, the pages follow the system's light or dark. Each theme's // colours are in src/tokens.css. // // A theme of the viewer's own (a dev.knotless.theme's palette, copied into // their preferences) is `custom-light` or `custom-dark`, with its colours // in a second cookie, `palette`, which the server writes on as its // style, over light's or dark's. // // A pair, one theme by day and another at night, keeps its night half in // `theme-night` and `palette-night` too. The server writes both halves on // , as `data-day` and `data-night`, with any palette of either in a //