github / github/copilot-cli

Feature Request: Support for custom color themes

オープン
#2,830 コメント 2 件 リアクション 8 件 担当者 0 名 GitHub で見る
area:theming-accessibility
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

/theme コマンドと、issue で言及されている設定の読み込みパス(~/.copilot/config.json と ~/.copilot/themes/ を含む)を最初に特定します。機能を実装する前に、サポートするテーマフィールドと、それらを CLI のインターフェースにどのように対応付けるかを定義します。設定されたカスタムパレットが選択され、一貫して適用されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

領域
cli, design
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。