GitHub Dark
CLI来自 GitHub 深色配色:蓝色强调色,成功为绿色,错误为珊瑚红。
预览
✻ 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-github-dark@themecccli-github-dark
3. 应用主题
运行 /theme 并选择 GitHub Dark。如果这是你的第一个自定义主题,需要重启一次 Claude Code。
作为单个文件安装
不使用插件系统,直接把 JSON 文件放进 ~/.claude/themes。
macOS、Linux、Git Bash
mkdir -p ~/.claude/themes && curl -fsSL -o ~/.claude/themes/github-dark.json https://raw.githubusercontent.com/LinXiaoTao/themecc/main/registry/cli/github-dark/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/github-dark/theme.json -OutFile "$HOME/.claude/themes/github-dark.json"详细信息
- 作者
- livlign
- 基础主题
- dark
- 许可证
- MIT
- 下载 theme.json
- theme.json
- 上游项目
- https://github.com/primer/github-vscode-theme
- 版权声明
- Copied from livlign/ccthemes at a4f7528 (MIT, Copyright (c) ccthemes contributors). Palette: GitHub Primer.
颜色值
| 名称 | 颜色 | 对比度 |
|---|---|---|
| autoAccept | #3FB950 | 6.6:1 AA |
| bashBorder | #BC8CFF | 6.6:1 AA |
| bashMessageBackgroundColor | #1b1b2a | – |
| blue_FOR_SUBAGENTS_ONLY | #58A6FF | 6.6:1 AA |
| claude | #58A6FF | 6.6:1 AA |
| claudeShimmer | #87bfff | 8.7:1 AAA |
| cyan_FOR_SUBAGENTS_ONLY | #39C5CF | 8.0:1 AAA |
| diffAdded | #173322 | – |
| diffAddedDimmed | #111e1c | – |
| diffAddedWord | #21542e | – |
| diffRemoved | #3d2629 | – |
| diffRemovedDimmed | #20191e | – |
| diffRemovedWord | #6e3b3b | – |
| error | #FF7B72 | 6.6:1 AA |
| fastMode | #58A6FF | 6.6:1 AA |
| green_FOR_SUBAGENTS_ONLY | #3FB950 | 6.6:1 AA |
| inactive | #6E7681 | 3.6:1 AA-LARGE |
| orange_FOR_SUBAGENTS_ONLY | #FFA657 | 8.6:1 AAA |
| permission | #58A6FF | 6.6:1 AA |
| pink_FOR_SUBAGENTS_ONLY | #D2A8FF | 8.6:1 AAA |
| planMode | #39C5CF | 8.0:1 AAA |
| promptBorder | #6E7681 | 3.6:1 AA-LARGE |
| purple_FOR_SUBAGENTS_ONLY | #BC8CFF | 6.6:1 AA |
| red_FOR_SUBAGENTS_ONLY | #FF7B72 | 6.6:1 AA |
| subtle | #424951 | 1.8:1 FAIL |
| success | #3FB950 | 6.6:1 AA |
| suggestion | #58A6FF | 6.6:1 AA |
| text | #C9D1D9 | 10.8:1 AAA |
| userMessageBackground | #14202e | – |
| warning | #D29922 | 6.6:1 AA |
| yellow_FOR_SUBAGENTS_ONLY | #D29922 | 6.6:1 AA |
对比度按假定的 #1e1e1e 终端背景估算。依赖终端调色板的颜色(ansi)不计算。