Closed Mekomancer closed 1 year ago
Latest commit: ed605f65cf463145ea904c06dfe91206b3dacd65
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Hey @Mekomancer I think this sadly does not work because there are a lot of possible layering problems where this color is layered on top of other things that need to be visible through the color.
I think @simurai can let us know if my assumption is correct or not.
where this color is layered on top of other things
👍 Yes, most of the backgrounds need to be semi-transparent so that underlaying layers remain visible. Things like selections or bracket/word matcher. From the VS Code docs:
The color must not be opaque so as not to hide underlying decorations.
It's a shame we can't use the colors from Primitives, but the VS Code theme is a bit an edge case in that regard.
Took another look. The current diff should already have more contrast than the screenshots in https://github.com/primer/github-vscode-theme/issues/325, but with https://github.com/primer/github-vscode-theme/pull/328/commits/1be76bb40016386dcb4e0b3fbcb6d94467203afa I increased the contrast for diff colors a bit more, but still kept it semi-transparent. Here the changes:
github.com | Before | After |
---|---|---|
Closes #325