Gruvbox Dark Hard
CLIGruvbox Dark 的 hard 对比度版本:黄色强调色,搭配亮绿色、红色和奶油色文字,基于很深的底色。
预览
✻ 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-dark-hard@themecccli-gruvbox-dark-hard
3. 应用主题
运行 /theme 并选择 Gruvbox Dark Hard。如果这是你的第一个自定义主题,需要重启一次 Claude Code。
作为单个文件安装
不使用插件系统,直接把 JSON 文件放进 ~/.claude/themes。
macOS、Linux、Git Bash
mkdir -p ~/.claude/themes && curl -fsSL -o ~/.claude/themes/gruvbox-dark-hard.json https://raw.githubusercontent.com/LinXiaoTao/themecc/main/registry/cli/gruvbox-dark-hard/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-dark-hard/theme.json -OutFile "$HOME/.claude/themes/gruvbox-dark-hard.json"详细信息
- 作者
- TheBabaYaga
- 基础主题
- dark
- 许可证
- MIT
- 下载 theme.json
- theme.json
- 上游项目
- https://github.com/morhetz/gruvbox
- 版权声明
- Copied from TheBabaYaga/claude-themes at 4893623 (MIT, Copyright (c) 2026 Kevin T'Syen). Palette: Gruvbox.
颜色值
| 名称 | 颜色 | 对比度 |
|---|---|---|
| autoAccept | #b8bb26 | 8.1:1 AAA |
| bashBorder | #fe8019 | 6.6:1 AA |
| blue_FOR_SUBAGENTS_ONLY | #83a598 | 6.2:1 AA |
| claude | #fabd2f | 9.8:1 AAA |
| claudeShimmer | #fe8019 | 6.6:1 AA |
| cyan_FOR_SUBAGENTS_ONLY | #8ec07c | 7.9:1 AAA |
| diffAdded | #2a3320 | – |
| diffAddedDimmed | #1f2818 | – |
| diffAddedWord | #4a5a30 | – |
| diffRemoved | #3a2520 | – |
| diffRemovedDimmed | #281b18 | – |
| diffRemovedWord | #5a3530 | – |
| error | #fb4934 | 4.8:1 AA |
| fastMode | #d3869b | 6.1:1 AA |
| green_FOR_SUBAGENTS_ONLY | #b8bb26 | 8.1:1 AAA |
| ide | #83a598 | 6.2:1 AA |
| inactive | #a89984 | 6.0:1 AA |
| inverseText | #1d2021 | 1.0:1 FAIL |
| merged | #d3869b | 6.1:1 AA |
| orange_FOR_SUBAGENTS_ONLY | #fe8019 | 6.6:1 AA |
| permission | #d3869b | 6.1:1 AA |
| pink_FOR_SUBAGENTS_ONLY | #d3869b | 6.1:1 AA |
| planMode | #8ec07c | 7.9:1 AAA |
| promptBorder | #a89984 | 6.0:1 AA |
| purple_FOR_SUBAGENTS_ONLY | #d3869b | 6.1:1 AA |
| red_FOR_SUBAGENTS_ONLY | #fb4934 | 4.8:1 AA |
| remember | #83a598 | 6.2:1 AA |
| selectionBg | #3c3836 | – |
| subtle | #504945 | 1.9:1 FAIL |
| success | #b8bb26 | 8.1:1 AAA |
| text | #ebdbb2 | 12.2:1 AAA |
| userMessageBackground | #282828 | – |
| warning | #fabd2f | 9.8:1 AAA |
| warningShimmer | #fe8019 | 6.6:1 AA |
| yellow_FOR_SUBAGENTS_ONLY | #fabd2f | 9.8:1 AAA |
对比度按假定的 #1e1e1e 终端背景估算。依赖终端调色板的颜色(ansi)不计算。