github / github/copilot-cli

Hardcoded colors in 1.0.61 break the light themed CLI

Aperta
#3,750 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
area:theming-accessibility
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### 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_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing the issue in Windows Terminal with its light theme using GitHub Copilot CLI 1.0.61, then trace where CLI colors are initialized or applied. Done means the CLI no longer forces a dark background and respects the terminal or Windows light/dark color setting; verify the result in both light and dark themes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.