Porcelain
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
根据主题的颜色值近似渲染。最终效果取决于你的终端和 light 基础主题。
安装
1. 添加 ThemeCC marketplace(只需一次)
/plugin marketplace add LinXiaoTao/themecc2. 安装这个主题
/plugin install cli-porcelain@themecccli-porcelain
3. 应用主题
运行 /theme 并选择 Porcelain。如果这是你的第一个自定义主题,需要重启一次 Claude Code。
作为单个文件安装
不使用插件系统,直接把 JSON 文件放进 ~/.claude/themes。
macOS、Linux、Git Bash
mkdir -p ~/.claude/themes && curl -fsSL -o ~/.claude/themes/porcelain.json https://raw.githubusercontent.com/LinXiaoTao/themecc/main/registry/cli/porcelain/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/porcelain/theme.json -OutFile "$HOME/.claude/themes/porcelain.json"详细信息
- 作者
- livlign
- 基础主题
- light
- 许可证
- MIT
- 下载 theme.json
- theme.json
- 上游项目
- https://github.com/livlign/ccthemes
- 版权声明
- Copied from livlign/ccthemes at a4f7528 (MIT, Copyright (c) ccthemes contributors).
颜色值
| 名称 | 颜色 | 对比度 |
|---|---|---|
| autoAccept | #157424 | 5.9:1 AA |
| bashBorder | #761BC3 | 7.7:1 AAA |
| bashMessageBackgroundColor | #f0e9f8 | – |
| blue_FOR_SUBAGENTS_ONLY | #004CC8 | 7.3:1 AAA |
| claude | #1257C7 | 6.5:1 AA |
| claudeShimmer | #5486d7 | 3.6:1 AA-LARGE |
| cyan_FOR_SUBAGENTS_ONLY | #006873 | 6.5:1 AA |
| diffAdded | #d6e5da | – |
| diffAddedDimmed | #edf3f0 | – |
| diffAddedWord | #adcdb3 | – |
| diffRemoved | #f3d3d8 | – |
| diffRemovedDimmed | #f8ecef | – |
| diffRemovedWord | #e9a6af | – |
| error | #C60018 | 6.2:1 AA |
| fastMode | #1257C7 | 6.5:1 AA |
| green_FOR_SUBAGENTS_ONLY | #157424 | 5.9:1 AA |
| inactive | #828896 | 3.6:1 AA-LARGE |
| orange_FOR_SUBAGENTS_ONLY | #B23A0E | 6.0:1 AA |
| permission | #1257C7 | 6.5:1 AA |
| pink_FOR_SUBAGENTS_ONLY | #862AD2 | 6.4:1 AA |
| planMode | #006873 | 6.5:1 AA |
| promptBorder | #828896 | 3.6:1 AA-LARGE |
| purple_FOR_SUBAGENTS_ONLY | #761BC3 | 7.7:1 AAA |
| red_FOR_SUBAGENTS_ONLY | #C60018 | 6.2:1 AA |
| subtle | #b8bcc4 | 1.9:1 FAIL |
| success | #157424 | 5.9:1 AA |
| suggestion | #1257C7 | 6.5:1 AA |
| text | #2A2E37 | 13.6:1 AAA |
| userMessageBackground | #e4ebf8 | – |
| warning | #855700 | 6.2:1 AA |
| yellow_FOR_SUBAGENTS_ONLY | #855700 | 6.2:1 AA |
对比度按假定的 #ffffff 终端背景估算。依赖终端调色板的颜色(ansi)不计算。