-
Notifications
You must be signed in to change notification settings - Fork 897
fix: use ANSI colors codes instead of RGB #14665
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
5e308df
chore: add command for showing colors
DanielleMaywood 86175bf
fix: use ANSI color codes instead of RGB
DanielleMaywood 098d35d
feat: add '--no-color' flag
DanielleMaywood 3d13060
fix: revert colors
DanielleMaywood 5b8fa3b
chore: change colors
DanielleMaywood 4ce84a4
fix: update golden files
DanielleMaywood a75dbb2
fix: replace blue with brightBlue
DanielleMaywood 390a7ca
fix: drop '> ' for unfocused prompts
DanielleMaywood 7e6db79
fix: run 'make fmt'
DanielleMaywood ce913a5
chore: allow disabling color with env flags
DanielleMaywood 22a2d0b
fix: apply fixes from feedback
DanielleMaywood 5e42118
fix: run 'make gen'
DanielleMaywood 40eb24e
fix: refactor janky code
DanielleMaywood ccf174a
fix: re-add public function
DanielleMaywood 1fbef1d
fix: re-add init for non-color tests
DanielleMaywood 44c3726
fix: move styles to 'init' that can be
DanielleMaywood d16f625
fix: stop overwriting entire DefaultStyles
DanielleMaywood 1babe96
fix: make code and field obey --no-color
DanielleMaywood ff3c392
fix: rip out '--no-color' due to race condition
DanielleMaywood 6d93c56
fix: apply nit
DanielleMaywood 506aa28
fix: simplify code && hide command
DanielleMaywood 997dc43
fix: newline shouldn't be themed
DanielleMaywood 24a838d
fix: appease the linter
DanielleMaywood File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: replace blue with brightBlue
- Loading branch information
commit a75dbb23ed7ae4a85f908256c8827187d838a5d6
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Were there no acceptable ANSI colors to replace these? Why did we go from red to ed567a?
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.
As we set both the foreground and background colour, we have complete control over the contrast so this looks the same regardless of the terminal theme. If we want to use an ANSI code instead we can but there isn't a need to here.
red
was defined as#ED567A
, and the newred
didn't look as good on the background so I kept it as the old one.