-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Change menu information text to dim #11671
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11671 +/- ##
==========================================
- Coverage 54.65% 54.64% -0.01%
==========================================
Files 145 145
Lines 12600 12601 +1
==========================================
Hits 6886 6886
- Misses 5018 5019 +1
Partials 696 696 ☔ View full report in Codecov by Sentry. |
953aeb9
to
549f1b1
Compare
cmd/formatter/colors.go
Outdated
@@ -37,7 +37,7 @@ var names = []string{ | |||
|
|||
const ( | |||
BOLD = "1" | |||
FAINT = "2" | |||
DIM = "2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I always seen this one referred as "FAINT", as listed on https://en.wikipedia.org/wiki/ANSI_escape_code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reverted the change
Signed-off-by: Joana Hrotko <[email protected]>
549f1b1
to
422b46e
Compare
What I did
Change hard coded gray color to use dim code
\033[2m
instead and let the terminal handle the dimming of the default color text.Related issue
fixes https://docker.atlassian.net/jira/software/c/projects/COMP/boards/576?selectedIssue=COMP-502
(not mandatory) A picture of a cute animal, if possible in relation to what you did