odysseus/static
Sunny cf0cc4dc0f fix(login): render the profile's active theme on the login page
The pre-auth login page cannot call /api/prefs/theme (401) and a freshly
opened device has nothing in localStorage, so it always fell back to the
built-in default palette instead of the theme the user set in-app.

Inject the profile's active theme into the login page at render time so it
matches the in-app theme on any device, including a first visit. Scoped to
single-user instances (no way to know whose theme to show before sign-in);
localStorage and the default :root remain fallbacks. The injected JSON is
escaped so it cannot break out of the surrounding <script>.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-24 12:42:10 -04:00
..
fonts feat(a11y): add a Text size control and an OpenDyslexic font option (#4210) 2026-06-22 13:53:46 +02:00
icons Cookbook model workflow fixes 2026-06-21 11:02:35 +00:00
js Merge verified Odysseus fixes 2026-07-23 14:49:02 +00:00
lib Odysseus v1.0 2026-05-31 23:58:26 +09:00
app.js Merge verified Odysseus fixes 2026-07-23 14:49:02 +00:00
icon.ico feat(launcher): add portable windows launcher (#976) 2026-06-16 04:58:16 +01:00
index.html Merge verified Odysseus fixes 2026-07-23 14:49:02 +00:00
login.html fix(login): render the profile's active theme on the login page 2026-07-24 12:42:10 -04:00
manifest.json pwa missing icons added (#428) 2026-06-15 16:00:13 +09:00
modal-control-variants.html Merge verified Odysseus fixes 2026-07-23 14:49:02 +00:00
style.css Merge verified Odysseus fixes 2026-07-23 14:49:02 +00:00
sw.js Merge verified Odysseus fixes 2026-07-23 14:49:02 +00:00
wave-variants.html Merge verified Odysseus fixes 2026-07-23 14:49:02 +00:00
whirlpool-variants.html Merge verified Odysseus fixes 2026-07-23 14:49:02 +00:00