Dracula
CLIClaude Code 的官方 Dracula 主题。它基于 ANSI 预设,颜色跟随终端里设置的 Dracula 调色板。
预览
✻ Claude Code v2.1
> Add input validation
● I'll read the form first.
⎿ Read signup.tsx (84 lines)
● Update(signup.tsx)
- const email = form.email;
+ const email = parse(form.email);
✗ 1 test failed (retrying)
✓ 12 tests passed
> /theme
根据主题的颜色值近似渲染。最终效果取决于你的终端和 dark-ansi 基础主题。
安装
1. 添加 ThemeCC marketplace(只需一次)
/plugin marketplace add LinXiaoTao/themecc2. 安装这个主题
/plugin install cli-dracula@themecccli-dracula
3. 应用主题
运行 /theme 并选择 Dracula。如果这是你的第一个自定义主题,需要重启一次 Claude Code。
作为单个文件安装
不使用插件系统,直接把 JSON 文件放进 ~/.claude/themes。
macOS、Linux、Git Bash
mkdir -p ~/.claude/themes && curl -fsSL -o ~/.claude/themes/dracula.json https://raw.githubusercontent.com/LinXiaoTao/themecc/main/registry/cli/dracula/theme.jsonWindows PowerShell
New-Item -ItemType Directory -Force "$HOME/.claude/themes" | Out-Null; Invoke-WebRequest -Uri https://raw.githubusercontent.com/LinXiaoTao/themecc/main/registry/cli/dracula/theme.json -OutFile "$HOME/.claude/themes/dracula.json"详细信息
- 作者
- Dracula Theme
- 基础主题
- dark-ansi
- 许可证
- MIT
- 下载 theme.json
- theme.json
- 上游项目
- https://draculatheme.com
- 版权声明
- Copied from dracula/claude-code-cli at 5e70448 (MIT, Copyright (c) 2026 Dracula Theme). Palette: Dracula.
颜色值
| 名称 | 颜色 | 对比度 |
|---|---|---|
| autoAccept | #50fa7b | 12.1:1 AAA |
| autoAcceptShimmer | #69ff94 | 13.0:1 AAA |
| background | #8be9fd | 12.0:1 AAA |
| bashBorder | #ff79c6 | 7.0:1 AA |
| bashMessageBackgroundColor | #21222c | – |
| blue_FOR_SUBAGENTS_ONLY | #8be9fd | 12.0:1 AAA |
| briefLabelClaude | #bd93f9 | 6.9:1 AA |
| briefLabelYou | #8be9fd | 12.0:1 AAA |
| chromeYellow | #f1fa8c | 14.9:1 AAA |
| claude | #bd93f9 | 6.9:1 AA |
| claudeBlue_FOR_SYSTEM_SPINNER | #8be9fd | 12.0:1 AAA |
| claudeBlueShimmer_FOR_SYSTEM_SPINNER | #a4ffff | 14.5:1 AAA |
| claudeShimmer | #d6acff | 8.9:1 AAA |
| clawd_background | #282a36 | 1.2:1 FAIL |
| clawd_body | #bd93f9 | 6.9:1 AA |
| composerSidebarBackground | #21222c | – |
| cyan_FOR_SUBAGENTS_ONLY | #a4ffff | 14.5:1 AAA |
| diffAdded | #305444 | – |
| diffAddedDimmed | #2c3f3d | – |
| diffAddedWord | #36734e | – |
| diffRemoved | #60353e | – |
| diffRemovedDimmed | #46303a | – |
| diffRemovedWord | #873d44 | – |
| effortUltra | #bd93f9 | 6.9:1 AA |
| error | #ff5555 | 5.3:1 AA |
| fastMode | #f1fa8c | 14.9:1 AAA |
| fastModeShimmer | #ffffa5 | 16.0:1 AAA |
| green_FOR_SUBAGENTS_ONLY | #50fa7b | 12.1:1 AAA |
| ide | #50fa7b | 12.1:1 AAA |
| inactive | #6272a4 | 3.5:1 AA-LARGE |
| inactiveShimmer | #808db4 | 5.1:1 AA |
| inverseText | #282a36 | 1.2:1 FAIL |
| memoryBackgroundColor | #423347 | – |
| merged | #bd93f9 | 6.9:1 AA |
| orange_FOR_SUBAGENTS_ONLY | #ffb86c | 9.8:1 AAA |
| permission | #bd93f9 | 6.9:1 AA |
| permissionShimmer | #d6acff | 8.9:1 AAA |
| pink_FOR_SUBAGENTS_ONLY | #ff79c6 | 7.0:1 AA |
| planMode | #8be9fd | 12.0:1 AAA |
| professionalBlue | #8be9fd | 12.0:1 AAA |
| promptBorder | #6272a4 | 3.5:1 AA-LARGE |
| promptBorderShimmer | #bd93f9 | 6.9:1 AA |
| purple_FOR_SUBAGENTS_ONLY | #bd93f9 | 6.9:1 AA |
| rainbow_blue | #8be9fd | 12.0:1 AAA |
| rainbow_blue_shimmer | #a4ffff | 14.5:1 AAA |
| rainbow_green | #50fa7b | 12.1:1 AAA |
| rainbow_green_shimmer | #69ff94 | 13.0:1 AAA |
| rainbow_indigo | #bd93f9 | 6.9:1 AA |
| rainbow_indigo_shimmer | #d6acff | 8.9:1 AAA |
| rainbow_orange | #ffb86c | 9.8:1 AAA |
| rainbow_orange_shimmer | #ffd185 | 11.7:1 AAA |
| rainbow_red | #ff5555 | 5.3:1 AA |
| rainbow_red_shimmer | #ff6e6e | 6.1:1 AA |
| rainbow_violet | #ff79c6 | 7.0:1 AA |
| rainbow_violet_shimmer | #ff92df | 8.3:1 AAA |
| rainbow_yellow | #f1fa8c | 14.9:1 AAA |
| rainbow_yellow_shimmer | #ffffa5 | 16.0:1 AAA |
| rate_limit_empty | #424450 | – |
| rate_limit_fill | #bd93f9 | – |
| red_FOR_SUBAGENTS_ONLY | #ff5555 | 5.3:1 AA |
| remember | #ff79c6 | 7.0:1 AA |
| selectionBg | #44475a | – |
| skill | #8be9fd | 12.0:1 AAA |
| subtle | #44475a | 1.8:1 FAIL |
| success | #50fa7b | 12.1:1 AAA |
| suggestion | #8be9fd | 12.0:1 AAA |
| text | #f8f8f2 | 15.6:1 AAA |
| userMessageBackground | #343746 | – |
| userMessageBackgroundHover | #424450 | – |
| warning | #ffb86c | 9.8:1 AAA |
| warningShimmer | #ffffa5 | 16.0:1 AAA |
| yellow_FOR_SUBAGENTS_ONLY | #f1fa8c | 14.9:1 AAA |
对比度按假定的 #1e1e1e 终端背景估算。依赖终端调色板的颜色(ansi)不计算。