Ayu Dark
CLI基于 Ayu 配色:天蓝色强调色,成功为青柠绿,警告为橙色。
预览
✻ 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-ayu-dark@themecccli-ayu-dark
3. 应用主题
运行 /theme 并选择 Ayu Dark。如果这是你的第一个自定义主题,需要重启一次 Claude Code。
作为单个文件安装
不使用插件系统,直接把 JSON 文件放进 ~/.claude/themes。
macOS、Linux、Git Bash
mkdir -p ~/.claude/themes && curl -fsSL -o ~/.claude/themes/ayu-dark.json https://raw.githubusercontent.com/LinXiaoTao/themecc/main/registry/cli/ayu-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/ayu-dark/theme.json -OutFile "$HOME/.claude/themes/ayu-dark.json"详细信息
- 作者
- livlign
- 基础主题
- dark
- 许可证
- MIT
- 下载 theme.json
- theme.json
- 上游项目
- https://github.com/ayu-theme/ayu-colors
- 版权声明
- Copied from livlign/ccthemes at a4f7528 (MIT, Copyright (c) ccthemes contributors). Palette: Ayu.
颜色值
| 名称 | 颜色 | 对比度 |
|---|---|---|
| autoAccept | #AAD94C | 10.1:1 AAA |
| bashBorder | #D2A6FF | 8.4:1 AAA |
| bashMessageBackgroundColor | #1b1a27 | – |
| blue_FOR_SUBAGENTS_ONLY | #59C2FF | 8.4:1 AAA |
| claude | #59C2FF | 8.4:1 AAA |
| claudeShimmer | #87d3ff | 10.2:1 AAA |
| cyan_FOR_SUBAGENTS_ONLY | #95E6CB | 11.5:1 AAA |
| diffAdded | #2b371f | – |
| diffAddedDimmed | #181e18 | – |
| diffAddedWord | #4b5f2a | – |
| diffRemoved | #392228 | – |
| diffRemovedDimmed | #1d161c | – |
| diffRemovedWord | #67363c | – |
| error | #F07178 | 5.8:1 AA |
| fastMode | #59C2FF | 8.4:1 AAA |
| green_FOR_SUBAGENTS_ONLY | #AAD94C | 10.1:1 AAA |
| inactive | #686868 | 3.0:1 FAIL |
| orange_FOR_SUBAGENTS_ONLY | #FFB454 | 9.5:1 AAA |
| permission | #59C2FF | 8.4:1 AAA |
| pink_FOR_SUBAGENTS_ONLY | #D2A6FF | 8.4:1 AAA |
| planMode | #95E6CB | 11.5:1 AAA |
| promptBorder | #686868 | 3.0:1 FAIL |
| purple_FOR_SUBAGENTS_ONLY | #D2A6FF | 8.4:1 AAA |
| red_FOR_SUBAGENTS_ONLY | #F07178 | 5.8:1 AA |
| subtle | #3e4042 | 1.6:1 FAIL |
| success | #AAD94C | 10.1:1 AAA |
| suggestion | #59C2FF | 8.4:1 AAA |
| text | #BFBDB6 | 8.9:1 AAA |
| userMessageBackground | #13202c | – |
| warning | #FFB454 | 9.5:1 AAA |
| yellow_FOR_SUBAGENTS_ONLY | #FFB454 | 9.5:1 AAA |
对比度按假定的 #1e1e1e 终端背景估算。依赖终端调色板的颜色(ansi)不计算。