Comment by kps
6 years ago
- Don't emit colour unless asked.
- Don't assume the user's terminal's background colour. Pragmatically, you can use red; the rest are too light or too dark.
6 years ago
- Don't emit colour unless asked.
- Don't assume the user's terminal's background colour. Pragmatically, you can use red; the rest are too light or too dark.
Or just don't use a terminal color scheme where the any foreground color except 30 has bad contrast with color 40 and don't use a default background color that has worse contrast than 40 with all foregreound colors other than 30.