Dracula preset for Claude Code (native name/base/overrides format)

This commit is contained in:
2026-07-15 15:36:17 -07:00
commit 385770afa1
2 changed files with 103 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# Hanzo themes
Theme presets for the coding harnesses `hanzo code` drives — in each tool's
**native** theme format (no binary patching).
## Claude Code (`claude/*.json`)
Claude loads custom themes from `~/.claude/themes/<name>.json` and selects one
via `theme: "custom:<name>"` in `~/.claude/settings.json`. Schema:
```json
{ "name": "Dracula", "base": "dark", "overrides": { "<colorKey>": "#rrggbb" } }
```
`base` is a built-in theme (`dark`/`light`) whose colors fill any key not in
`overrides`. `hanzo code claude` drops the selected preset into `~/.claude/themes`
and selects it automatically (default: `dracula`).
- **dracula** — the Dracula palette, Claude accent in signature purple `#bd93f9`.
## Codex / hanzo dev
Codex-rs harnesses (`codex`, `dev`) theme via `~/.codex/config.toml` — presets
land here as that lands.
+79
View File
@@ -0,0 +1,79 @@
{
"name": "Dracula",
"base": "dark",
"overrides": {
"autoAccept": "#bd93f9",
"autoAcceptShimmer": "#e0caff",
"background": "#8be9fd",
"bashBorder": "#ff79c6",
"bashMessageBackgroundColor": "#363847",
"blue_FOR_SUBAGENTS_ONLY": "#7696fc",
"briefLabelClaude": "#bd93f9",
"briefLabelYou": "#8be9fd",
"chromeYellow": "#bd93f9",
"claude": "#bd93f9",
"claudeBlueShimmer_FOR_SYSTEM_SPINNER": "#d2afff",
"claudeBlue_FOR_SYSTEM_SPINNER": "#bd93f9",
"claudeShimmer": "#d2afff",
"clawd_background": "#000000",
"clawd_body": "#ffb86c",
"composerSidebarBackground": "#282a36",
"cyan_FOR_SUBAGENTS_ONLY": "#8be9fd",
"diffAdded": "#225c31",
"diffAddedDimmed": "#415446",
"diffAddedWord": "#3da658",
"diffRemoved": "#7a2929",
"diffRemovedDimmed": "#6d4e4e",
"diffRemovedWord": "#c14747",
"effortUltra": "#bd93f9",
"error": "#ff5555",
"fastMode": "#f1fa8c",
"fastModeShimmer": "#f8fdc7",
"green_FOR_SUBAGENTS_ONLY": "#50fa7b",
"ide": "#bd93f9",
"inactive": "#94969e",
"inactiveShimmer": "#c0c1c2",
"inverseText": "#000000",
"memoryBackgroundColor": "#374346",
"merged": "#bd93f9",
"messageActionsBackground": "#3c3f50",
"orange_FOR_SUBAGENTS_ONLY": "#ffb86c",
"permission": "#bd93f9",
"permissionShimmer": "#e0caff",
"pink_FOR_SUBAGENTS_ONLY": "#ff79c6",
"planMode": "#50fa7b",
"professionalBlue": "#7696fc",
"promptBorder": "#82848e",
"promptBorderShimmer": "#a2a4aa",
"purple_FOR_SUBAGENTS_ONLY": "#bd93f9",
"rainbow_blue": "#8298dc",
"rainbow_blue_shimmer": "#b4c2f0",
"rainbow_green": "#50fa7b",
"rainbow_green_shimmer": "#8bfca8",
"rainbow_indigo": "#bd93f9",
"rainbow_indigo_shimmer": "#e0caff",
"rainbow_orange": "#ffb86c",
"rainbow_orange_shimmer": "#ffd6a9",
"rainbow_red": "#ff5555",
"rainbow_red_shimmer": "#ff9292",
"rainbow_violet": "#ff79c6",
"rainbow_violet_shimmer": "#ffb6e0",
"rainbow_yellow": "#f1fa8c",
"rainbow_yellow_shimmer": "#f8fdc7",
"rate_limit_empty": "#44475a",
"rate_limit_fill": "#ffb86c",
"red_FOR_SUBAGENTS_ONLY": "#ff5555",
"remember": "#f1fa8c",
"selectionBg": "#44475a",
"skill": "#bd93f9",
"subtle": "#45485b",
"success": "#50fa7b",
"suggestion": "#ff79c6",
"text": "#f8f8f2",
"userMessageBackground": "#323443",
"userMessageBackgroundHover": "#3c3f50",
"warning": "#f1fa8c",
"warningShimmer": "#f8fdc7",
"yellow_FOR_SUBAGENTS_ONLY": "#f1fa8c"
}
}