Commit Graph

3 Commits

Author SHA1 Message Date
Florian Schroedl
3976bac7c9 chore: rename "UI Framework" to "Clojure UI Framework" across dev targets
Update sidebar brand title and page title in all three dev targets
(hiccup, replicant, squint) and the index shell.
2026-03-05 13:33:50 +01:00
Florian Schroedl
d2395fda44 feat: persist theme across dev targets via ?theme= query param
Each target reads the theme from ?theme=dark|light on load and applies
it to data-theme before first paint. A MutationObserver syncs theme
changes back to the URL via replaceState, and a click handler appends
?theme= to cross-port navigation links automatically.

The outer iframe shell (dev/index.html) uses postMessage to track theme
changes from iframes and passes the param when switching tabs.

For hiccup, the server also reads ?theme= and sets data-theme on the
<html> element server-side to prevent any flash of wrong theme.
2026-03-05 13:29:01 +01:00
Florian Schroedl
42ddb56d65 Init 2026-03-03 11:02:08 +01:00