Repository navigation
Add support for changing color space of syntax highlighting colors - #255417
Open
Erik Olofsson (erikolofsson) wants to merge 4 commits into
Open
Erik Olofsson (erikolofsson) wants to merge 4 commits into
Erik Olofsson (erikolofsson) wants to merge 4 commits into
Conversation
Author
|
@microsoft-github-policy-service agree |
Author
|
Added support for theme to specify color space and support in experimental GPU renderer. |
Contributor
|
Whoever reviews this, please re-add me if we end up proceeding on this |
Contributor
|
Thanks Erik Olofsson (@erikolofsson) for looking into this. |
… standalone editors
This branch has not been deployed
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
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.
Fixes #161028
Adds an option to change the color space of syntax highlighting colors. This allows more vibrant colors than the default sRGB color space which is narrow and can't encode vibrant colors.
See screenshot below uses Display P3 color space to the left and the unpatched version to the right (sRGB).
To test this you will need a display that supports a wider gamut, otherwise you will not see a difference. It's easiest to see with fully red (#ff0000) or fully green colors (#00ff00). All recent mac displays will support Display P3 colors.