GitHub Light
CLIGitHub 浅色配色:熟悉的蓝色强调色,白底上状态色清晰易读。
预览
✻ 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
根据主题的颜色值近似渲染。最终效果取决于你的终端和 light 基础主题。
安装
1. 添加 ThemeCC marketplace(只需一次)
/plugin marketplace add LinXiaoTao/themecc2. 安装这个主题
/plugin install cli-github-light@themecccli-github-light
3. 应用主题
运行 /theme 并选择 GitHub Light。如果这是你的第一个自定义主题,需要重启一次 Claude Code。
作为单个文件安装
不使用插件系统,直接把 JSON 文件放进 ~/.claude/themes。
macOS、Linux、Git Bash
mkdir -p ~/.claude/themes && curl -fsSL -o ~/.claude/themes/github-light.json https://raw.githubusercontent.com/LinXiaoTao/themecc/main/registry/cli/github-light/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-light/theme.json -OutFile "$HOME/.claude/themes/github-light.json"详细信息
- 作者
- livlign
- 基础主题
- light
- 许可证
- 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 | #28A745 | 3.1:1 AA-LARGE |
| bashBorder | #5A32A3 | 8.7:1 AAA |
| bashMessageBackgroundColor | #f2eff8 | – |
| blue_FOR_SUBAGENTS_ONLY | #0366D6 | 5.4:1 AA |
| claude | #0366D6 | 5.4:1 AA |
| claudeShimmer | #4a91e1 | 3.3:1 AA-LARGE |
| cyan_FOR_SUBAGENTS_ONLY | #1B7C83 | 4.9:1 AA |
| diffAdded | #ddf1e1 | – |
| diffAddedDimmed | #f2faf4 | – |
| diffAddedWord | #b6e1c0 | – |
| diffRemoved | #f9dfe2 | – |
| diffRemovedDimmed | #fdf3f4 | – |
| diffRemovedWord | #f1bcc1 | – |
| error | #D73A49 | 4.6:1 AA |
| fastMode | #0366D6 | 5.4:1 AA |
| green_FOR_SUBAGENTS_ONLY | #28A745 | 3.1:1 AA-LARGE |
| inactive | #959DA5 | 2.7:1 FAIL |
| orange_FOR_SUBAGENTS_ONLY | #005CC5 | 6.3:1 AA |
| permission | #0366D6 | 5.4:1 AA |
| pink_FOR_SUBAGENTS_ONLY | #5A32A3 | 8.7:1 AAA |
| planMode | #1B7C83 | 4.9:1 AA |
| promptBorder | #959DA5 | 2.7:1 FAIL |
| purple_FOR_SUBAGENTS_ONLY | #5A32A3 | 8.7:1 AAA |
| red_FOR_SUBAGENTS_ONLY | #D73A49 | 4.6:1 AA |
| subtle | #c5c9ce | 1.7:1 FAIL |
| success | #28A745 | 3.1:1 AA-LARGE |
| suggestion | #0366D6 | 5.4:1 AA |
| text | #24292F | 14.7:1 AAA |
| userMessageBackground | #e6f0fb | – |
| warning | #DBAB09 | 2.1:1 FAIL |
| yellow_FOR_SUBAGENTS_ONLY | #DBAB09 | 2.1:1 FAIL |
对比度按假定的 #ffffff 终端背景估算。依赖终端调色板的颜色(ansi)不计算。