Changeset 9cc0f9f in Klonkt for src/middleware/site.js

Timestamp:
06/24/2026 04:49:43 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
19fbe03
Parents:
f6c414e
Message:

fix(theme): use the validated palette in the shell (dead palette broke dark/light)

A site stuck on a removed palette (e.g. 'ocean') rendered data-palette with no CSS
block, so the light/dark toggle had nothing to switch. The shell now uses the
whitelist-validated palette local (falls back to klonkt) instead of the raw
site.palette. Existing sites on dead palettes were migrated to klonkt.

Co-Authored-By: Claude <noreply@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.