claude-code
The claude-code target writes a generated Claude Code theme JSON when needed and updates Claude Code settings while preserving other settings.
This page is generated from the adapter plan used by otheme set vesper --dry-run. Paths are shown exactly as otheme prints them; ~ means your home directory.
Compatibility
Author and map modes. In author mode, otheme writes ~/.claude/themes/<theme-id>.json and sets theme = custom:<theme-id>. In map mode, it sets theme to the built-in light or dark preset.
Files
| Order | File | What otheme writes |
|---|---|---|
| 1 | ~/.claude/themes/vesper.json | write generated Claude Code theme vesper |
| 2 | ~/.claude/settings.json | set JSON key theme = custom:vesper |
Running inside tmux
When $TMUX is set, Claude Code caps its output to 256 colors, so your authored theme renders with washed-out, approximated colors instead of the exact palette. Set CLAUDE_CODE_TMUX_TRUECOLOR=1 to opt back into truecolor inside tmux:
export CLAUDE_CODE_TMUX_TRUECOLOR=1See this issue comment for details.
Commands
No shell commands are run for this target.