Light-theme screenshots have a gray halo around their rounded corners

Aperta
#94 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@romnn ci sta già lavorando.

Dal 29/11/2026.

  • #85 di @romnn — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
bash, rust
Ambito
desktop, devtools

Direzione di ricerca

Start with render_tui in scripts/screenshots/run.sh and inspect the screenshot generation options, including Freeze's shadow settings. Check the review-gui screenshots for the same halo, then run task screenshots and inspect both themes on light and dark backgrounds. Done means the rounded corners look clean on both backgrounds, with the light images fully transparent outside the window.

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

Descrizione

bug

The light-theme review-tui screenshots, such as docs/screenshots/tui/hero-light.png, have a gray halo around their rounded corners on GitHub's light background.

render_tui in scripts/screenshots/run.sh asks freeze for a window with a black drop shadow (--shadow.blur 20). The pixels outside the rounded window are therefore semi-transparent black, at alpha around 70. On a dark page that is invisible; on a light page it reads as a dirty edge. pngquant's palette reduction then makes the soft gradient blotchy.

Wanted

  • Corners that are clean on both GitHub backgrounds: no drop shadow, or at least none on the light images, so everything outside the rounded window is fully transparent.
  • Check the review-gui shots for the same problem.
  • Rerun task screenshots and read both themes' images on a light and a dark background.
Lingua principale
Rust
Stelle
1
Fork
0
Merge medio
2h 16m
PR unite (30g)
54

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di romnn/code-review

Tutte le issue di romnn/code-review

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.