Skip to content

Feature request: per-project persistent color/theme settings #43216

@jobimdev

Description

@jobimdev

Feature Request: Per-project persistent color & terminal theme

Problem

I work with multiple different projects simultaneously (games, websites, apps, etc.) and I often have several Claude Code CLI sessions open on my PC at the same time. Right now, there's no way to visually distinguish which session belongs to which project at a glance.

The /color command exists and works great — but it's session-only. Every time I open a new session, I have to manually run /color pink (or red, blue, etc.) again. There's no way to persist this per project.

Proposed Solution

Add a color (or theme) key to the project-level settings (.claude/settings.json or .claude/settings.local.json) that automatically applies when Claude Code starts in that directory.

Example .claude/settings.local.json:

{
  "color": "pink"
}

Ideally, this would also change the terminal background color via OSC escape codes, so that just by navigating (cd) into a project directory, the entire terminal appearance shifts — background color + Claude Code prompt color — making it instantly obvious which project you're in.

Why This Matters

When you're jumping between 3-4 CLI sessions across different projects, they all look identical. A per-directory color setting would make multitasking much easier and reduce the chance of running commands in the wrong project.

Current Workarounds (and why they don't work)

  • /color pink — works but resets every session, no persistence
  • OSC escape codes in .bashrc — changes terminal background, but Claude Code's TUI paints over it
  • Windows Terminal profiles — only works if you manually pick the right profile each time, doesn't auto-switch on cd

Summary

A simple per-project "color" key in settings would solve this cleanly. Bonus points if it also emits OSC codes to theme the terminal background automatically.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions