Catppuccin Mocha
CLICatppuccin 最深的一款:粉彩蓝色强调色,搭配柔和的绿、红、黄状态色。
预览
✻ 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-catppuccin-mocha@themecccli-catppuccin-mocha
3. 应用主题
运行 /theme 并选择 Catppuccin Mocha。如果这是你的第一个自定义主题,需要重启一次 Claude Code。
作为单个文件安装
不使用插件系统,直接把 JSON 文件放进 ~/.claude/themes。
macOS、Linux、Git Bash
mkdir -p ~/.claude/themes && curl -fsSL -o ~/.claude/themes/catppuccin-mocha.json https://raw.githubusercontent.com/LinXiaoTao/themecc/main/registry/cli/catppuccin-mocha/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/catppuccin-mocha/theme.json -OutFile "$HOME/.claude/themes/catppuccin-mocha.json"详细信息
- 作者
- livlign
- 基础主题
- dark
- 许可证
- MIT
- 下载 theme.json
- theme.json
- 上游项目
- https://github.com/catppuccin/catppuccin
- 版权声明
- Copied from livlign/ccthemes at a4f7528 (MIT, Copyright (c) ccthemes contributors). Palette: Catppuccin.
颜色值
| 名称 | 颜色 | 对比度 |
|---|---|---|
| autoAccept | #A6E3A1 | 11.2:1 AAA |
| bashBorder | #F5C2E7 | 10.9:1 AAA |
| bashMessageBackgroundColor | #2f2b3d | – |
| blue_FOR_SUBAGENTS_ONLY | #89B4FA | 7.9:1 AAA |
| claude | #89B4FA | 7.9:1 AAA |
| claudeShimmer | #aac9fb | 9.9:1 AAA |
| cyan_FOR_SUBAGENTS_ONLY | #94E2D5 | 11.2:1 AAA |
| diffAdded | #394545 | – |
| diffAddedDimmed | #292e37 | – |
| diffAddedWord | #546d5c | – |
| diffRemoved | #493446 | – |
| diffRemovedDimmed | #2f2738 | – |
| diffRemovedWord | #734a5f | – |
| error | #F38BA8 | 7.2:1 AAA |
| fastMode | #89B4FA | 7.9:1 AAA |
| green_FOR_SUBAGENTS_ONLY | #A6E3A1 | 11.2:1 AAA |
| inactive | #585B70 | 2.5:1 FAIL |
| orange_FOR_SUBAGENTS_ONLY | #FAB387 | 9.4:1 AAA |
| permission | #89B4FA | 7.9:1 AAA |
| pink_FOR_SUBAGENTS_ONLY | #F5C2E7 | 10.9:1 AAA |
| planMode | #94E2D5 | 11.2:1 AAA |
| promptBorder | #585B70 | 2.5:1 FAIL |
| purple_FOR_SUBAGENTS_ONLY | #F5C2E7 | 10.9:1 AAA |
| red_FOR_SUBAGENTS_ONLY | #F38BA8 | 7.2:1 AAA |
| subtle | #3e4052 | 1.6:1 FAIL |
| success | #A6E3A1 | 11.2:1 AAA |
| suggestion | #89B4FA | 7.9:1 AAA |
| text | #CDD6F4 | 11.5:1 AAA |
| userMessageBackground | #292d42 | – |
| warning | #F9E2AF | 13.1:1 AAA |
| yellow_FOR_SUBAGENTS_ONLY | #F9E2AF | 13.1:1 AAA |
对比度按假定的 #1e1e1e 终端背景估算。依赖终端调色板的颜色(ansi)不计算。