chanzuckerberg / happy

Happy Path Deployment Tool

Home Page:https://chanzuckerberg.github.io/happy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix: Add contrast to terminal color with non-default settings

alexlokshin-czi opened this issue · comments

@danieljhegeman will provide additional details.

The current iteration of the happy client produces logs in black text. This is a problem for any engineer with a dark terminal background.

Edit: not the case for everyone it seems. Something about my terminal settings is causing the logger to think my background is light, when it's not.

I can confirm the same behavior in my terminal - I'm using iterm 3.4.15 with a dark background and the default happy output is using the color I have configured for "bright black" ... which is actually a dark gray and hard to read.

Proposed initial fix: a --no-color and HAPPY_NO_COLOR that will disable colorizing in the CLI.

We can then think of another solution