cli: improve colors used in CLI output to be friendly for dark/light background terminals
See original GitHub issue![Screenshot 2019-11-28 at 16 33 04](https://user-images.githubusercontent.com/42124/69814499-f8b0f980-11fc-11ea-94f6-fb63dda3c400.png)
Reproduction Steps
Run cdk init app --language=typescript
in a Terminal with a light background color. I used VS Code Insiders with the i Light color theme.
Environment
- CLI Version : 1.18.0 (build bc924bc)
- Framework Version:
- OS : macOS Catalina 10.15.1 (19B88)
- Language :
Other
In general I recommend disabling color output unless the user explicitly requests it.
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Colorizing your terminal and shell environment?
I try to use color on the command line, because color makes the output more useful and intuitive. What options exist to add...
Read more >5 Tweaks to Customize the Look of Your Linux Terminal
Tip 0: Use separate terminal profiles for your customization · Tip 1: Use a dark/light terminal theme · Tip 2: Change the font...
Read more >Latest improvements to the Azure CLI experience
Colors from the Azure CLI theme will not override your pre-customized settings. We only map the color names to the corresponding color values ......
Read more >7 Tips to Customize the Look of Your Linux Terminal
1. Create a New Terminal Profile · 2. Use a Dark/Light Terminal Theme · 3. Change the Font Type and Size · 4....
Read more >How to change the color of your Linux terminal
You can add color to your Linux terminal using special ANSI encoding settings, either dynamically in a terminal command or in configuration ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So, there are two features here that I would like:
NO_COLOR
environment variable (ref. https://no-color.org).Why is this closed? There is a workaround, but the default is still colour (which is very useful) and the contrast is pretty bad on a dark background: