panda-syntax-vscode
panda-syntax-vscode copied to clipboard
Extremely low contrast in diff viewer for comment changes.
Summary
Looking at diffs using the VSCode diff editor shows really low contrast text to background especially with backgrounds.
Language: JavaScript (Possibly other languages that have comments syntax highlighting)
Just diff any two files with changes in comments and you can see the problem. Here is a screenshot.
![test_diff_contrast](https://user-images.githubusercontent.com/62624/42907776-d6dba266-8aac-11e8-8446-4dcd0c534333.png)
I love Panda syntax, this is the only thing that is really annoying.
I also love Panda syntax, but this issue is even worst when seeing code changes:
+1
+1
As of 2021 I am still facing this issue. Pandas is amazing, but this single issue is making me switch to a different theme. 😢
Found a solution for it. Customize the color theme is the user settings.
"workbench.colorCustomizations": {
"[Panda Syntax]": {
"diffEditor.insertedTextBackground": "#ff0000" // add some shade of green here
"diffEditor.removedTextBackground": "#ff0000" // add some shade of red here
}
},
Found you will need a alpha value in the colour code so you can still see the letters diff eg "diffEditor.removedTextBackground": "#e9464655", "diffEditor.insertedTextBackground": "#31dc3155"
Really liked the theme, but the color for diff viewer is not very eye-friendly.