Skip to content

Start container claude in the auto theme - #404

Merged
tildesrc merged 1 commit into
mainfrom
panopticon/claude-theme-auto
Aug 26, 2026
Merged

Start container claude in the auto theme#404
tildesrc merged 1 commit into
mainfrom
panopticon/claude-theme-auto

Conversation

@tildesrc

Copy link
Copy Markdown
Contributor

Task containers launch claude, which has no --theme flag and falls back to a fixed dark palette — so a task pane attached from a light terminal is hard to read.

Seed theme: auto (claude follows the terminal's background) in the two places claude resolves the setting from:

  • container/hooks.py — the .claude/settings.json the launcher already renders, claude's modern home for user settings (theme is one);
  • cli/claude.py's trust_workspace — claude's legacy global config, for builds that read it from there. Both values agree, so resolution order doesn't matter.

Seeded, not enforced (setdefault): the config dir is a per-task volume that outlives a respawn, and the ask is what an instance starts in — so a deliberate /theme inside a container survives the next launch, while the turn-flip hooks and permission pre-accepts are re-applied every time.

Plan: the task's plan.md artifact (panopticon://tasks/47bb910a12a44cfbb9a45b99255e7edc/artifacts/plan.md).

🤖 Generated with Claude Code

claude has no `--theme` flag and defaults to a fixed dark palette, so a task pane
attached from a light terminal is hard to read. Seed `theme: auto` — which follows
the terminal's background — into the settings file the launcher already renders,
plus claude's legacy global config for builds that resolve it from there (the two
values agree, so precedence doesn't matter).

Seeded, not enforced: the config dir is a per-task volume that outlives a respawn,
so a deliberate `/theme` inside the container survives the next launch, while the
hooks and permission pre-accepts are still re-applied every time.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@tildesrc
tildesrc marked this pull request as ready for review August 26, 2026 15:03
@tildesrc
tildesrc merged commit e72c1f5 into main Aug 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant