Something went wrong. Try again.
bayes for days
Something went wrong. Try again.
CSS
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849/* The palette every generated figure carries, and the only place it is written. * * This file is source, not output: `docs/FEATURES.md`, `docs/LABELS.md` and * every `.svg` beside them are generated and say so at the top, and this one is * edited by hand. * * It is inlined verbatim into each figure rather than linked, and that is * forced rather than chosen. A figure is referenced as ``, which * renders through `<img>`, and an `<img>` document is isolated: it cannot load * an external stylesheet, and custom properties do not cross the boundary. So * the tokens are duplicated into all 78 files whatever we do. What this file * buys is that they are duplicated *from one place* - `vignettes/render.rs` * and `sds/labeldoc.py` both read it, and `tests/test_figures.py` fails if any * shipped figure carries something else. * * They were two copies before, and the copies had already drifted: the label * figures were missing the `[data-theme="dark"]` block, so they answered a * reader's OS preference but ignored an explicit choice, while the feature * figures next to them honoured both. * * Rules live with whichever generator draws them. Only the tokens are shared, * because only the tokens have to agree. */ :root { --paper: #fbfaf8; --ink: #1b1d21; --faint: #6b7078; --ground: #e6e5e2; --measured: #dde6ef; --edge: #cfcbc3; --accent: #2f6fb0; --ours: #2f6fb0; --theirs: #b23a35; --wood: #4a7a4a; --wood-heavy: #1f4d24; --water: #4a7a9e; --water-heavy: #1f4a70; --walk: #2f6fb0; --run: #b8912a; --ring: #8a5a8a; --hot: #c2562f; --aim: #8a5a8a; --trace: #1f6f5c; } @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --paper: #14161a; --ink: #e6e4e0; --faint: #8b9098; --ground: #23262b; --measured: #2b333d; --edge: #3a3f47; --accent: #6fa8dc; --ours: #6fa8dc; --theirs: #e08e88; --wood: #7bb07b; --wood-heavy: #cfe8cf; --water: #7ba8c8; --water-heavy: #cfe4f5; --walk: #6fa8dc; --run: #e2c162; --ring: #c69cc6; --hot: #e8845c; --aim: #c69cc6; --trace: #64bfa6; } } /* A page that offers a switch needs the choice to beat the preference, in both directions. See `page.rs`. */ :root[data-theme="dark"] { --paper: #14161a; --ink: #e6e4e0; --faint: #8b9098; --ground: #23262b; --measured: #2b333d; --edge: #3a3f47; --accent: #6fa8dc; --ours: #6fa8dc; --theirs: #e08e88; --wood: #7bb07b; --wood-heavy: #cfe8cf; --water: #7ba8c8; --water-heavy: #cfe4f5; --walk: #6fa8dc; --run: #e2c162; --ring: #c69cc6; --hot: #e8845c; --aim: #c69cc6; --trace: #64bfa6; }