Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Improve echo'd status messaging colorblind friendliness

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ

Hướng nghiên cứu

Start in Makefile lines 229-233, then inspect the status output around lines 249-253 and search for all COLOR_GREEN references. Rename the ANSI color variables, add status-related variables using the requested color scheme, and add icons or ASCII indicators where appropriate. Done means status output is distinguishable without relying on color alone throughout the Makefile.

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

Mô tả

I'm using too much ANSI 32 green and 33 red together without icons, so colorblind folks can't really tell what's good and bad in Makefile output.

Change the colors variables here:

https://github.com/target/make-python-devex/blob/45abe28c2c2138c446a0e7b5b1fecfe9552dd357/Makefile#L229-L233

to be named something like ANSI_COLOR_GREEN

and create status-related variables like

STATUS_GOOD = $(ANSI_COLOR_BLUE)

and set these STATUS_GOOD, STATUS_BAD, etc. to follow the blue/yellow/red color scheme everywhere but the US uses.

Lastly, change all the $(COLOR_GREEN) refs to $(STATUS_GOOD), etc.

E.g. in

https://github.com/target/make-python-devex/blob/45abe28c2c2138c446a0e7b5b1fecfe9552dd357/Makefile#L249-L253

Consider also injecting an emoji or at least ASCII indicators of status, e.g. ✅ or ❌ or just ✔ or ✘ so there's both an icon in the indicator as well as color.

Ngôn ngữ chính
Makefile
Star
31
Fork
6
Merge trung bình
14 ngày 4 giờ
Pull request đã merge (30 ngày)
3

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 target/make-python-devex

Tất cả issue của target/make-python-devex

Issue tương tự

Thêm issue về Accessibility

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.