catchorg / catchorg/Catch2

Colors are hard to read with a light theme

Open
#1,643 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
21.5k
Forks
3.5k
Avg merge
3d 16h
Merged PRs (30d)
2

Description

**Describe the bug**
The colors of Catch2's output do not adapt to the terminal's theme, making it unreadable when using a light theme.

**Expected behavior**
Something readable :<
Adding an environment variable to let the users invert the output would probably be the best solution. Right now I have to use the flag to disable colors but this is not desirable.

**Reproduction steps**
Use a light theme (eg solarized light) and try anything:
```cpp
#define CATCH_CONFIG_MAIN
#include "catch.hpp"

TEST_CASE( "foo", "[bar]" ) {
REQUIRE(false);
}
```

**Platform information:**

- Catch version: **v2.8.0**

**Additional context**

![Screenshot from 2019-05-28 17-27-10](https://user-images.githubusercontent.com/12513150/58490672-de269680-816d-11e9-9253-7eb74e0b4b8d.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.