Tokyo Night
CLI来自 Tokyo Night 配色:柔和的蓝色强调色,成功为绿色,错误为粉红色。
预览
✻ 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-tokyo-night@themecccli-tokyo-night
3. 应用主题
运行 /theme 并选择 Tokyo Night。如果这是你的第一个自定义主题,需要重启一次 Claude Code。
作为单个文件安装
不使用插件系统,直接把 JSON 文件放进 ~/.claude/themes。
macOS、Linux、Git Bash
mkdir -p ~/.claude/themes && curl -fsSL -o ~/.claude/themes/tokyo-night.json https://raw.githubusercontent.com/LinXiaoTao/themecc/main/registry/cli/tokyo-night/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/tokyo-night/theme.json -OutFile "$HOME/.claude/themes/tokyo-night.json"详细信息
- 作者
- livlign
- 基础主题
- dark
- 许可证
- MIT
- 下载 theme.json
- theme.json
- 上游项目
- https://github.com/enkia/tokyo-night-vscode-theme
- 版权声明
- Copied from livlign/ccthemes at a4f7528 (MIT, Copyright (c) ccthemes contributors). Palette: Tokyo Night.
颜色值
| 名称 | 颜色 | 对比度 |
|---|---|---|
| autoAccept | #9ECE6A | 9.1:1 AAA |
| bashBorder | #BB9AF7 | 7.2:1 AAA |
| bashMessageBackgroundColor | #272537 | – |
| blue_FOR_SUBAGENTS_ONLY | #7AA2F7 | 6.6:1 AA |
| claude | #7AA2F7 | 6.6:1 AA |
| claudeShimmer | #9fbcf9 | 8.8:1 AAA |
| cyan_FOR_SUBAGENTS_ONLY | #7DCFFF | 9.7:1 AAA |
| diffAdded | #343f34 | – |
| diffAddedDimmed | #25292b | – |
| diffAddedWord | #4f6341 | – |
| diffRemoved | #462d3b | – |
| diffRemovedDimmed | #2c222e | – |
| diffRemovedWord | #723f50 | – |
| error | #F7768E | 6.3:1 AA |
| fastMode | #7AA2F7 | 6.6:1 AA |
| green_FOR_SUBAGENTS_ONLY | #9ECE6A | 9.1:1 AAA |
| inactive | #414868 | 1.9:1 FAIL |
| orange_FOR_SUBAGENTS_ONLY | #FF9E64 | 8.2:1 AAA |
| permission | #7AA2F7 | 6.6:1 AA |
| pink_FOR_SUBAGENTS_ONLY | #BB9AF7 | 7.2:1 AAA |
| planMode | #7DCFFF | 9.7:1 AAA |
| promptBorder | #414868 | 1.9:1 FAIL |
| purple_FOR_SUBAGENTS_ONLY | #BB9AF7 | 7.2:1 AAA |
| red_FOR_SUBAGENTS_ONLY | #F7768E | 6.3:1 AA |
| subtle | #2f344a | 1.4:1 FAIL |
| success | #9ECE6A | 9.1:1 AAA |
| suggestion | #7AA2F7 | 6.6:1 AA |
| text | #C0CAF5 | 10.3:1 AAA |
| userMessageBackground | #24283b | – |
| warning | #E0AF68 | 8.3:1 AAA |
| yellow_FOR_SUBAGENTS_ONLY | #E0AF68 | 8.3:1 AAA |
对比度按假定的 #1e1e1e 终端背景估算。依赖终端调色板的颜色(ansi)不计算。