UI: light/dark switch, and THOR spelled out in the header #10

Merged
jared merged 2 commits from theme into main 2026-11-26 17:32:09 -05:00
Owner

Two UI changes you asked for after #8. UI, so it waits for your look.

Screenshots: the top section of https://claude.ai/artifact/6UWjqPFf3a8JVDFJerkvQj ("New: light/dark switch and the THOR acronym").

  • Light/dark switch: a ☀ button at the top right, the same one Gandalf has (lt.theme.toggle() from web_template). Until you use it, the browser's preference decides, as before. After that your choice is remembered in that browser and follows you across pages and tabs. It's visible on phones too.
  • The acronym: the title is now THOR with "Total Hardware Operations Resolver" underneath, initials in cyan, with the same glitch title and styling as Gandalf's header. On phones the design system hides the subtitle, as it does for Gandalf.

Tests cover both. flake8 is clean, with no em or en dashes.

🤖 Generated with Claude Code

Two UI changes you asked for after #8. **UI, so it waits for your look.** **Screenshots:** the top section of https://claude.ai/artifact/6UWjqPFf3a8JVDFJerkvQj ("New: light/dark switch and the THOR acronym"). - **Light/dark switch:** a ☀ button at the top right, the same one Gandalf has (`lt.theme.toggle()` from web_template). Until you use it, the browser's preference decides, as before. After that your choice is remembered in that browser and follows you across pages and tabs. It's visible on phones too. - **The acronym:** the title is now THOR with "**T**otal **H**ardware **O**perations **R**esolver" underneath, initials in cyan, with the same glitch title and styling as Gandalf's header. On phones the design system hides the subtitle, as it does for Gandalf. Tests cover both. flake8 is clean, with no em or en dashes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jared added 2 commits 2026-11-26 13:55:35 -05:00
The design system already renders light when the browser prefers it; this adds the same ☀
button Gandalf has (lt.theme.toggle). The choice is remembered per browser (localStorage) and
synced across tabs; until it is used, the browser's preference still decides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
UI: spell out THOR in the header like Gandalf does
CI / Lint (flake8, house style) (pull_request) Successful in 44s
CI / Test (pytest) (pull_request) Successful in 59s
CI / Integration (MariaDB) (pull_request) Successful in 2m2s
CI / Security (bandit, pip-audit) (pull_request) Successful in 1m5s
CI / Scan (secrets, workflows, shell, patterns) (pull_request) Successful in 1m34s
CI / UI (screenshots) (pull_request) Successful in 1m40s
CI / Deploy (pull_request) Skipped
2e19c8bfe2
THOR is Total Hardware Operations Resolver: glitch title plus the expansion with the initials
picked out, the same treatment as Gandalf's header (operator request).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared merged commit 564b8060a1 into main 2026-11-26 17:32:09 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/thor#10