Campbell
CLI来自 Windows Terminal 的 Campbell 配色:宝蓝色强调色,搭配经典 ANSI 绿、红、黄。
预览
✻ 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 基础主题。
安装
1. 添加 ThemeCC marketplace(只需一次)
/plugin marketplace add LinXiaoTao/themecc2. 安装这个主题
/plugin install cli-campbell@themecccli-campbell
3. 应用主题
运行 /theme 并选择 Campbell。如果这是你的第一个自定义主题,需要重启一次 Claude Code。
作为单个文件安装
不使用插件系统,直接把 JSON 文件放进 ~/.claude/themes。
macOS、Linux、Git Bash
mkdir -p ~/.claude/themes && curl -fsSL -o ~/.claude/themes/campbell.json https://raw.githubusercontent.com/LinXiaoTao/themecc/main/registry/cli/campbell/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/campbell/theme.json -OutFile "$HOME/.claude/themes/campbell.json"详细信息
- 作者
- livlign
- 基础主题
- dark
- 许可证
- MIT
- 下载 theme.json
- theme.json
- 上游项目
- https://github.com/microsoft/terminal
- 版权声明
- Copied from livlign/ccthemes at a4f7528 (MIT, Copyright (c) ccthemes contributors). Palette: Campbell.
颜色值
| 名称 | 颜色 | 对比度 |
|---|---|---|
| autoAccept | #13A10E | 4.9:1 AA |
| bashBorder | #881798 | 2.1:1 FAIL |
| bashMessageBackgroundColor | #160d17 | – |
| blue_FOR_SUBAGENTS_ONLY | #0037DA | 2.0:1 FAIL |
| claude | #3B78FF | 4.2:1 AA-LARGE |
| claudeShimmer | #729eff | 6.4:1 AA |
| cyan_FOR_SUBAGENTS_ONLY | #3A96DD | 5.2:1 AA |
| diffAdded | #0d2a0c | – |
| diffAddedDimmed | #0d180c | – |
| diffAddedWord | #0f480d | – |
| diffRemoved | #310d10 | – |
| diffRemovedDimmed | #1b0c0e | – |
| diffRemovedWord | #560d14 | – |
| error | #C50F1F | 2.7:1 FAIL |
| fastMode | #3B78FF | 4.2:1 AA-LARGE |
| green_FOR_SUBAGENTS_ONLY | #13A10E | 4.9:1 AA |
| inactive | #767676 | 3.7:1 AA-LARGE |
| orange_FOR_SUBAGENTS_ONLY | #C19C00 | 6.4:1 AA |
| permission | #3B78FF | 4.2:1 AA-LARGE |
| pink_FOR_SUBAGENTS_ONLY | #B4009E | 2.7:1 FAIL |
| planMode | #3A96DD | 5.2:1 AA |
| promptBorder | #767676 | 3.7:1 AA-LARGE |
| purple_FOR_SUBAGENTS_ONLY | #881798 | 2.1:1 FAIL |
| red_FOR_SUBAGENTS_ONLY | #C50F1F | 2.7:1 FAIL |
| subtle | #464646 | 1.8:1 FAIL |
| success | #13A10E | 4.9:1 AA |
| suggestion | #3B78FF | 4.2:1 AA-LARGE |
| text | #CCCCCC | 10.4:1 AAA |
| userMessageBackground | #111724 | – |
| warning | #C19C00 | 6.4:1 AA |
| yellow_FOR_SUBAGENTS_ONLY | #C19C00 | 6.4:1 AA |
对比度按假定的 #1e1e1e 终端背景估算。依赖终端调色板的颜色(ansi)不计算。