* feat(widget): Loki's own look, in Loki's light or dark mode, with one scroll
The site widget took its colours from the fleet's shared tokens, whose
accent is OrangeCat's warm orange, and was dark only: on a client's light
site the owner saw an orange-ringed black panel and asked why Loki's widget
looked like OrangeCat.
- Themes are generated from Loki's own globals.css, light and dark. The
accent is the ink; the warm colour is only the focus ring and a picked
element's outline on the host page.
- Every widget stylesheet reads var(--lk-*), defined for both modes on the
shadow host; widget/theme-mode.ts picks one. The owner gets the mode they
chose in Loki (user_preferences.theme, saved by ThemeSync via
PUT /api/me/theme, returned with their changes and remembered per site);
everyone else gets their device's setting, followed live.
- The panel is one column with one scroll area (the thread) between a fixed
header and composer. The whole card used to scroll too, which hid the
composer below a laptop's fold and nested scrolls on phones.
- The desktop card no longer greys out the site it invites you to use; the
phone sheet opens at two thirds of the screen with a lighter scrim.
- About is a segmented control that fits a 320px phone on one line.
- The walkthrough card follows the same mode; its ring uses the highlight
so it reads on light and dark sites.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018LMe5Uv6mfWJibAiCaNbbk
* fix(widget): the launcher is findable — Loki's mark at full strength
On the owner's phone, signed out of the owner pass, AOZ showed a grey
pencil at 38% opacity and 85% size, and the owner said the widget was gone.
Without the launcher there is no way to the sign-in that brings owner mode
back. The resting launcher is now Loki's spiral at full strength with a
hairline and a soft lift off the page, on phones and desktop; it still
fades while the page scrolls.
Also: the user_theme migration is renumbered 0107 after main's 0106.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018LMe5Uv6mfWJibAiCaNbbk
* fix(widget): keep the shared chat's thread bounded however chatkit nests it
CI's widget-kit-browser (needs @bitbaum/chatkit, so it only runs there)
failed one check: the chat thread no longer had a max-height once the panel
became a flex column. The flex layout bounds it only when the wrap is a
direct child, so the cap is back as a backstop, and the test now pins the
outcome — the thread scrolls and ends inside a card that fits the screen —
instead of the mechanism.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018LMe5Uv6mfWJibAiCaNbbk
---------
Co-authored-by: Claude <noreply@anthropic.com>