-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
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:
Lines 229 to 233 in 45abe28
| COLOR_ORANGE = \033[33m | |
| COLOR_BLUE = \033[34m | |
| COLOR_RED = \033[31m | |
| COLOR_GREEN = \033[32m | |
| COLOR_RESET = \033[0m |
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
Lines 249 to 253 in 45abe28
| echo "$(COLOR_RED)Run your make command again after adding the above so that $(PYENV) is available.$(COLOR_RESET)" | |
| .PHONY: deps-peru | |
| deps-peru: .peru/lastimports ## Installs dependencies from Peru | |
| @echo "$(COLOR_GREEN)All Peru modules sync'd!$(COLOR_RESET)" |
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.
Metadata
Metadata
Assignees
Labels
No labels