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

Don't use faint text in colorized console output #131

Merged
merged 1 commit into from
Feb 7, 2019
Merged

Don't use faint text in colorized console output #131

merged 1 commit into from
Feb 7, 2019

Conversation

kevinmcconnell
Copy link
Contributor

This is from discussion in #125.

The faint text style doesn't seem to be supported by all terminals, which means the default console output loses most of its coloring on them.

This commit changes the color scheme to more widely-supported colors. This also matches how it looked in earlier versions of this library.

The faint text style doesn't seem to be supported by all terminals,
which means the default console output loses most of its coloring on
them.

This commit changes the color scheme to more widely-supported colors.
This also matches how it looked in earlier versions of this library.
@@ -27,6 +22,9 @@ const (
colorMagenta
colorCyan
colorWhite

colorBold = 1
colorDarkGray = 90
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've moved these into the same const block because the only thing they have in common with each other is that they don't fit tidily into the iota sequence. We could pull them back out if that's preferred though.

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.

2 participants