-
Notifications
You must be signed in to change notification settings - Fork 8.5k
#1363 - Campbell color scheme should change the foreground color from #F2F2F2 to #CCCCCC #1629
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
#1363 - Campbell color scheme should change the foreground color from #F2F2F2 to #CCCCCC #1629
Conversation
Changed the foreground color from #F2F2F2 to #CCCCCC.
Just leaving this for you @DHowett-MSFT. This is the change as discussed in the bug. You had it set to tag Help-Wanted, so I just put it together. The work is there if you want to take it. |
Thanks! If you’re up to it, you could do a whole color palette sweep and get solarized in there as well. What do you think? #1509 |
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 am good with subbing the one Campbell color per this PR at the time of review. If it expands to rev a whole bunch of other stuff, I'd love to re-review it then (or in a different PR).
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.
(If you want to do additional color schemes, we can handle that in a separate PR. Thanks for doing this.)
Changed the foreground color from #F2F2F2 to #CCCCCC so that ESC[1m _actually_ brightens it. (cherry picked from commit f63cada)
Changed the foreground color from #F2F2F2 to #CCCCCC so that ESC[1m _actually_ brightens it. (cherry picked from commit f63cada)
Changed the foreground color from #F2F2F2 to #CCCCCC so that ESC[1m _actually_ brightens it.
🎉 Handy links: |
Changed the foreground color from #F2F2F2 to #CCCCCC.
Summary of the Pull Request
I changed where foreground is set in CascadiaSettings.cpp, from #F2F2F2 : RGB(242, 242, 242) to #CCCCCC : RGB(204, 204, 204).
References
PR Checklist
added/passedN/ADetailed Description of the Pull Request / Additional comments
As detailed in the bug, this slightly reduces the brightness of the default/foreground color of the Campbell color scheme from BrightWhite to White. This then allows the use of ESC sequence codes to add an intensity bit to make White display as BrightWhite. Without this change, using ESC[1m would keep the display color the same.
Validation Steps Performed
This was tested by manipulating the profiles.json to find the correct values to use. The code change was not tested outside this commit because it is a direct replacement of hard coded data, so there are no behavioral changes which should need to be evaluated separately.