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

Override formatter colors from envvars #1095

Merged
merged 2 commits into from Dec 14, 2022

Commits on Dec 14, 2022

  1. Override environment formatter colors from envvars

    This allows a user to set environment variables
    `GINKGO_CLI_COLOR_<color>` with asci code overrides. This helps a lot
    when the colorscheme that you are using doesn't play well with the
    colors from the 256 color scheme which currently is hard coded.
    
    Example `GINKGO_CLI_COLOR_RED=$'\x1b[31m' ginkgo` will use the red from
    the 8bit colors configured in the terminal.
    blacksails committed Dec 14, 2022
    Copy the full SHA
    00203da View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7b768db View commit details
    Browse the repository at this point in the history