github / github/copilot-cli

Hardcoded colors in 1.0.61 break the light themed CLI

未關閉
#3,750 1 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
area:theming-accessibility
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

Image
Hardcoded background color breaks the light CMD theme.

### Affected version

GitHub Copilot CLI 1.0.61.

### Steps to reproduce the behavior

1. Set the light theme in Windows / Terminal
2. Run Github Copilot
3. Look at the screen

### Expected behavior

Allow reusing colors from Terminal Preview as many users set up the theme there.
Or, check if the Windows color scheme is light or dark before applying colors.
Many users are switching to light themes when working outdoors on a sunny day as the text is much better visible in such conditions.

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

首先,使用 GitHub Copilot CLI 1.0.61 在採用淺色主題的 Windows Terminal 中重現問題,然後追蹤 CLI 色彩的初始化或套用位置。完成的標準是 CLI 不再強制使用深色背景,並遵循終端機或 Windows 的淺色/深色色彩設定;在淺色和深色主題下都驗證結果。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。