-
Notifications
You must be signed in to change notification settings - Fork 77
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
implemented a 4-bit ANSI background color cycler for every new instance of a progress bar. Also uses the old gray colors for reference #1983
Closed
Conversation
This file contains 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
…ce of a progress bar. Also uses the old gray colors for reference
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1983 +/- ##
=======================================
- Coverage 49% 49% -1%
+ Complexity 6291 6285 -6
=======================================
Files 664 664
Lines 59548 59547 -1
Branches 8637 8638 +1
=======================================
- Hits 29420 29405 -15
- Misses 27913 27927 +14
Partials 2215 2215 ☔ View full report in Codecov by Sentry. |
I think we have to force the foreground to black... |
jurgenvinju
added a commit
that referenced
this pull request
Jun 22, 2024
…ith bright white foreground inside the bar and normal text outside the bar; also dropped all the underline and overline fringes for better consistency acros themes. works well with both dark and white themes now, due to the forced bright white foreground and they middle gray which has best contrast if you need to optimize for both dark and light backgrounds at the same time
Archiving this PR for later reference. Was not meant to be merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
@DavyLandman @PaulKlint this is not for merging; but for trying out all the different colors in the ANSI 4-bit pallette as possible backgrounds. Notice that the names of the colors are not necessarily what people implement in their terminals.
For example, this is what wikipedia reports on different interpretations already: https://en.wikipedia.org/wiki/ANSI_escape_code#3-bit_and_4-bit:~:text=The%20chart%20below%20shows%20a%20few%20examples%20of%20how%20VGA%20standard%20and%20modern%20terminal%20emulators%20translate%20the%204%2Dbit%20color%20codes%20into%2024%2Dbit%20color%20codes.
Let's collect some screenshots here.