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

Change menu information text to dim #11671

Merged
merged 1 commit into from Mar 28, 2024

Conversation

jhrotko
Copy link
Contributor

@jhrotko jhrotko commented Mar 27, 2024

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
image

@jhrotko jhrotko self-assigned this Mar 27, 2024
Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

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

👍

Copy link

codecov bot commented Mar 27, 2024

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 54.64%. Comparing base (6fe69b2) to head (422b46e).

Files Patch % Lines
cmd/formatter/shortcut.go 0.00% 3 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

@@ -37,7 +37,7 @@ var names = []string{

const (
BOLD = "1"
FAINT = "2"
DIM = "2"
Copy link
Contributor

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

Copy link
Contributor Author

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 <joana.hrotko@docker.com>
@jhrotko jhrotko merged commit 339b331 into docker:main Mar 28, 2024
30 checks passed
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

3 participants