/theme-gallery:theme-customfrom theme-gallery
Guides users through building a custom Claude Code color theme interactively — pick base/accent, generate overrides, write to ~/.claude/themes/, and activate live.
Ships in theme-gallery. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Guide the user to a finished, activated custom theme. A theme is a JSON file at
~/.claude/themes/<slug>.json with three fields: name, base, and overrides.
Claude Code hot-reloads the folder, so a written file applies without restart
(if ~/.claude/themes/ did not exist before this session, the user restarts once).
Establish the direction. Ask two quick questions if the user hasn't already said:
base (dark is the default; light, dark-daltonized,
light-daltonized, dark-ansi, light-ansi are the other options).themes/ directory and adjust it.Generate the overrides. Only set tokens you have a deliberate reason to change;
everything else inherits from base. Colors accept #rrggbb, #rgb, rgb(r,g,b),
ansi256(n), or ansi:<name>. The tokens that matter most, in priority order:
| Token | Controls |
|---|---|
claude | Primary accent — spinner, assistant label. Set claudeShimmer to a lighter tint of it. |
text | Default foreground text |
inactive / subtle | Hints, timestamps; faint borders |
success / error / warning | Pass / fail / caution |
diffAdded / diffRemoved | Backgrounds of added/removed lines — use dark, desaturated tints on dark bases and pale tints on light bases, NOT vivid foreground green/red |
diffAddedWord / diffRemovedWord | Word-level highlight, a shade stronger than the line |
diffAddedDimmed / diffRemovedDimmed | Faint context tint near a change |
planMode / autoAccept / bashBorder / promptBorder | Mode accents and input borders |
Rule of thumb for diff backgrounds: composite the theme's green/red over its background at low alpha (~18–22% on dark, ~16% on light). Never reuse a vivid terminal foreground green as a background — it destroys the text contrast.
Write the file. Slug = a kebab-case name. Write ~/.claude/themes/<slug>.json:
{ "name": "My Theme", "base": "dark", "overrides": { "claude": "#bd93f9", "...": "..." } }
Activate it. Patch the user's settings so it's the live theme. Read
~/.claude/settings.json (create {} if absent), set "theme": "custom:<slug>",
and write it back — preserve every other key. Then tell the user it applies
immediately (or after one restart if the themes folder was just created).
Confirm. Report the slug, the file path, and that it's now active. Offer to
contribute it to the gallery (the theme-contribute skill).
What SKILL.md sets; muted values are Claude Code's defaults
Use when the user asks to build, create, design, customize, or tweak a Claude Code theme, or wants colors that aren't in the shipped gallery.
Three short reads, in order
2 skills in this plugin
Other plugins' skills for the same job
npx claudepluginhub livlign/ccthemes --plugin theme-gallery