--- /** * The palette switcher, beside the sun/moon toggle in the masthead — the * same control as daemon-sec.xyz's. The toggle answers "light or dark"; * this answers "which family" (Rosé Pine, Gruvbox, Gruvepine), and the two * are independent, so every palette keeps both of its modes. * * The button wears the current palette's three dots. All three sets are in * the markup and palettes.css shows the one matching ``, * so the button is right before any script runs. Behaviour is in * src/scripts/palette.ts; the list itself is generated (src/lib/palettes.ts). */ import { PALETTES } from '../lib/palettes'; ---