Prism
CLI明亮的蓝色强调色,计划模式用青色,粉、薄荷绿、黄色状态色区分明显。
预览
✻ 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-prism@themecccli-prism
3. 应用主题
运行 /theme 并选择 Prism。如果这是你的第一个自定义主题,需要重启一次 Claude Code。
作为单个文件安装
不使用插件系统,直接把 JSON 文件放进 ~/.claude/themes。
macOS、Linux、Git Bash
mkdir -p ~/.claude/themes && curl -fsSL -o ~/.claude/themes/prism.json https://raw.githubusercontent.com/LinXiaoTao/themecc/main/registry/cli/prism/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/prism/theme.json -OutFile "$HOME/.claude/themes/prism.json"详细信息
- 作者
- livlign
- 基础主题
- dark
- 许可证
- MIT
- 下载 theme.json
- theme.json
- 上游项目
- https://github.com/livlign/ccthemes
- 版权声明
- Copied from livlign/ccthemes at a4f7528 (MIT, Copyright (c) ccthemes contributors).
颜色值
| 名称 | 颜色 | 对比度 |
|---|---|---|
| autoAccept | #71E0B0 | 10.3:1 AAA |
| bashBorder | #9DA9FF | 7.6:1 AAA |
| bashMessageBackgroundColor | #171f37 | – |
| blue_FOR_SUBAGENTS_ONLY | #47B3FF | 7.3:1 AAA |
| claude | #5AB0FF | 7.2:1 AAA |
| claudeShimmer | #88c6ff | 9.2:1 AAA |
| cyan_FOR_SUBAGENTS_ONLY | #31DCF2 | 10.0:1 AAA |
| diffAdded | #1f3c42 | – |
| diffAddedDimmed | #132331 | – |
| diffAddedWord | #34655d | – |
| diffRemoved | #3c263c | – |
| diffRemovedDimmed | #1f1b2f | – |
| diffRemovedWord | #6d3951 | – |
| error | #FF7192 | 6.4:1 AA |
| fastMode | #5AB0FF | 7.2:1 AAA |
| green_FOR_SUBAGENTS_ONLY | #71E0B0 | 10.3:1 AAA |
| inactive | #5E6F90 | 3.3:1 AA-LARGE |
| orange_FOR_SUBAGENTS_ONLY | #F0A878 | 8.4:1 AAA |
| permission | #5AB0FF | 7.2:1 AAA |
| pink_FOR_SUBAGENTS_ONLY | #B8C1FF | 9.6:1 AAA |
| planMode | #31DCF2 | 10.0:1 AAA |
| promptBorder | #5E6F90 | 3.3:1 AA-LARGE |
| purple_FOR_SUBAGENTS_ONLY | #9DA9FF | 7.6:1 AAA |
| red_FOR_SUBAGENTS_ONLY | #FF7192 | 6.4:1 AA |
| subtle | #394660 | 1.8:1 FAIL |
| success | #71E0B0 | 10.3:1 AAA |
| suggestion | #5AB0FF | 7.2:1 AAA |
| text | #D7E3F4 | 12.8:1 AAA |
| userMessageBackground | #13233c | – |
| warning | #FAD77C | 12.0:1 AAA |
| yellow_FOR_SUBAGENTS_ONLY | #FAD77C | 12.0:1 AAA |
对比度按假定的 #1e1e1e 终端背景估算。依赖终端调色板的颜色(ansi)不计算。