---
title: claude-code
description: Files and commands used by the claude-code target.
---

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 every theme to `~/.claude/themes/otheme.json` and sets `theme = custom:otheme`, so a running Claude Code repaints live. In map mode, it sets `theme` to the built-in `light` or `dark` preset.

## Files

| Order | File | What otheme writes |
| --- | --- | --- |
| 1 | `~/.claude/themes/otheme.json` | write generated Claude Code theme vesper |
| 2 | `~/.claude/settings.json` | set JSON key theme = custom:otheme |

## 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:

```sh
export CLAUDE_CODE_TMUX_TRUECOLOR=1
```

See [this issue comment](https://github.com/anthropics/claude-code/issues/36785#issuecomment-4169173830) for details.

## Commands

No shell commands are run for this target.
