Re-apply live stylesheet after branding save so new colors show without hard reload

Fixkamo-internal
Shipped
June 30, 2026 at 9:12 PM UTC
Author
kamo
Commit
89d524c

DynamicMetaLoader injects the org globals.css only once on mount, so after a color save (which correctly re-provisions globals.css + bumps themeRevision) the page kept the old --color-* vars until a full reload — read as stale cache. Add a KAMO_THEME_REAPPLY window event: LabelManager dispatches it once per save on provision complete, DynamicMetaLoader re-runs its config-fetch + stylesheet swap (now idempotent for force-light style and favicon links).

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing