-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Selection Color should invert selected text color #3561
Comments
oh no This is hard to very hard on the scale of tasks, unfortunately. GDI has a very handy function for inverting the colors of a region of the window. unfortunately, DX has so such equivalent function. I believe @miniksa has said something in that past about rendering the frame, then specially inverting the selected area in another rendering pass? He can elaborate more. |
How about being able to choose the selected text foreground color? This could potentially solve the contrast ratio issue on selected text and not force us to vet all the colors against two background colors for every theme. |
Didn't #3471 committed today literally just do this? |
It only includes a Selection Background colour. I did make the suggestion there should also be a Selection Foreground colour. |
We're open to contributions to our DX renderer. Thanks! |
Environment
Steps to reproduce
Expected behavior
Selected text should invert the text colors:
Actual behavior
Text maintains it's original color which leads to contrast issues.
![image](https://user-images.githubusercontent.com/2334756/68795006-ed5aad00-0604-11ea-822f-51f3ae4d9c9c.png)
Notes
Powershell and CMD both invert the text colors when selected, which would fix the contrast ratio accessibility issue present in the terminal:
![image](https://user-images.githubusercontent.com/2334756/68793524-3b21e600-0602-11ea-820f-c1885cb48aa6.png)
The text was updated successfully, but these errors were encountered: