Timestamp:
06/27/2026 12:42:07 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
a78e051
Parents:
204bd74
Message:

fix(theme): a site renders in its own palette, not the logged-in viewer's

  • middleware/site.js — loadTheme prioritised the session user's palette over the site's, so a full page load (owner logged in) used the viewer's stale user.palette while htmx-nav used the site palette → the palette appeared to change on hard refresh. There is no per-user palette UI (user.palette is vestigial migration data); the site palette now always wins, matching the htmx pcmsNav path. Theme (dark/light) stays a per-user preference.
(No files)

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