github / github/copilot-cli

Feature Request: Support for custom color themes

未关闭
#2,830 2 条评论 8 个 reaction 已指派 0 人 在 GitHub 查看
area:theming-accessibility
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

## Feature Request: Custom Color Themes

### Problem
Currently, the `/theme` command only supports `auto`, `dark`, and `light` color modes. There is no way to customize the color palette used by the CLI (e.g., accent colors, background tints, text colors, etc.).

### Use Case
When running multiple Copilot CLI sessions with different configurations (e.g., a standard session vs. an admin session with a different model), it would be very helpful to visually distinguish them with distinct color themes. Right now, the only option is to change the terminal emulator's color scheme, which is a workaround rather than a first-class solution.

### Proposed Solution
Support custom themes via configuration, for example in `~/.copilot/config.json` or a dedicated `~/.copilot/themes/` directory. A theme could define colors for:

- Background/foreground
- Accent colors (prompt, highlights, borders)
- Status bar / footer colors
- Diff colors
- Agent output colors

Example config:
```json
{
"theme": "admin",
"themes": {
"admin": {
"accent": "#7C4DFF",
"background": "#1A0A2E",
"foreground": "#E0D0FF"
}
}
}
```

This would also allow users to share themes, which could build community engagement.

### Alternatives Considered
- Using Windows Terminal / iTerm2 color schemes as a workaround (current approach)
- Using `/theme dark` vs `/theme light` to differentiate sessions (limited)

### Additional Context
Running on Windows with multiple desktop shortcuts for different Copilot configurations (different models, admin vs. non-admin). Visual distinction at the Copilot level would be much cleaner than relying on terminal emulator theming.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。