Gruvbox Dark
CLI基于 Gruvbox 配色:低饱和的水绿色强调色,搭配暖调复古的红、绿、芥末黄状态色。
预览
✻ 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-gruvbox@themecccli-gruvbox
3. 应用主题
运行 /theme 并选择 Gruvbox Dark。如果这是你的第一个自定义主题,需要重启一次 Claude Code。
作为单个文件安装
不使用插件系统,直接把 JSON 文件放进 ~/.claude/themes。
macOS、Linux、Git Bash
mkdir -p ~/.claude/themes && curl -fsSL -o ~/.claude/themes/gruvbox.json https://raw.githubusercontent.com/LinXiaoTao/themecc/main/registry/cli/gruvbox/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/gruvbox/theme.json -OutFile "$HOME/.claude/themes/gruvbox.json"详细信息
- 作者
- livlign
- 基础主题
- dark
- 许可证
- MIT
- 下载 theme.json
- theme.json
- 上游项目
- https://github.com/morhetz/gruvbox
- 版权声明
- Copied from livlign/ccthemes at a4f7528 (MIT, Copyright (c) ccthemes contributors). Palette: Gruvbox.
颜色值
| 名称 | 颜色 | 对比度 |
|---|---|---|
| autoAccept | #98971A | 5.4:1 AA |
| bashBorder | #B16286 | 3.9:1 AA-LARGE |
| bashMessageBackgroundColor | #332d30 | – |
| blue_FOR_SUBAGENTS_ONLY | #458588 | 3.9:1 AA-LARGE |
| claude | #83A598 | 6.2:1 AA |
| claudeShimmer | #a6beb5 | 8.5:1 AAA |
| cyan_FOR_SUBAGENTS_ONLY | #689D6A | 5.3:1 AA |
| diffAdded | #3e3e25 | – |
| diffAddedDimmed | #313127 | – |
| diffAddedWord | #555422 | – |
| diffRemoved | #492726 | – |
| diffRemovedDimmed | #352827 | – |
| diffRemovedWord | #6a2624 | – |
| error | #CC241D | 3.0:1 AA-LARGE |
| fastMode | #83A598 | 6.2:1 AA |
| green_FOR_SUBAGENTS_ONLY | #98971A | 5.4:1 AA |
| inactive | #928374 | 4.5:1 AA |
| orange_FOR_SUBAGENTS_ONLY | #FE8019 | 6.6:1 AA |
| permission | #83A598 | 6.2:1 AA |
| pink_FOR_SUBAGENTS_ONLY | #D3869B | 6.1:1 AA |
| planMode | #689D6A | 5.3:1 AA |
| promptBorder | #928374 | 4.5:1 AA |
| purple_FOR_SUBAGENTS_ONLY | #B16286 | 3.9:1 AA-LARGE |
| red_FOR_SUBAGENTS_ONLY | #CC241D | 3.0:1 AA-LARGE |
| subtle | #625a52 | 2.5:1 FAIL |
| success | #98971A | 5.4:1 AA |
| suggestion | #83A598 | 6.2:1 AA |
| text | #EBDBB2 | 12.2:1 AAA |
| userMessageBackground | #313433 | – |
| warning | #D79921 | 6.7:1 AA |
| yellow_FOR_SUBAGENTS_ONLY | #D79921 | 6.7:1 AA |
对比度按假定的 #1e1e1e 终端背景估算。依赖终端调色板的颜色(ansi)不计算。