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

Đang mở
#94 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@romnn đang làm issue này rồi.

Từ ngày 29/11/2026.

  • #85 của @romnn — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
bash, rust
Lĩnh vực
desktop, devtools

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Rust
Star
1
Fork
0
Merge trung bình
2 giờ 16 phút
Pull request đã merge (30 ngày)
54

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của romnn/code-review

Tất cả issue của romnn/code-review

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.