Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable gray colors for solarized support #2

Merged
merged 1 commit into from May 16, 2015

Conversation

AprilArcus
Copy link
Contributor

unfortunately, chalk.gray (ansi "bright black") is used as the default background color by the popular "Solarized" terminal theme, and it therefore renders invisibly when specified without a background color. This PR simply disables the gray color. This was convenient for me and I thought I'd share it, but please feel free to reject with prejudice; I am aware that supporting all non-standard terminal configurations is impossible.

@royriojas
Copy link
Owner

Hi @AprilArcus,

thanks for the pull request. I will merge it, but I will add a environment flag to change the theme completely for cases like yours.

That way the original usage remains like it is now.

Regards

royriojas added a commit that referenced this pull request May 16, 2015
disable gray colors for solarized support
@royriojas royriojas merged commit 3bc0385 into royriojas:master May 16, 2015
royriojas pushed a commit that referenced this pull request May 16, 2015
…he background. Fixes #2

Basically this fix removes the gray color if the environment variable `EFF_NO_GRAY`
is set to the string `true`.

this can be done very easily in bash doing:

```bash
export EFF_NO_GRAY=true
```
@AprilArcus
Copy link
Contributor Author

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants