-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
Expose theming for Git Diffs #39325
Comments
Actually these colors are already themeable. We won't support customising the width. |
I am currently using an extension that allows us to override css soon camndonthis and many other overrides. I’d like to stop using that as it may have other implications. Just to give some context as to why i am requesting more Css control in vs code. I see this issue has been closed. Could we have a discussion about exposing these css properties? |
@joaomoreno, what is the reasoning behind not customizing the width? It's not clashing with line numbers to the left and with folding controls to the right (providing 1-5px range). |
@johnpapa As I said, those specific colors are already themeable, no need to override CSS. The theme color names are:
@usernamehw Yeah the only way we could make it work is to limit it in that 1-5px range... Would you like to attempt a PR for that? If so, we can extract your comment about the width into a separate issue. |
Another thing: I can Is there a way to explicitly dispose registered theming participant? |
Try to disconnect the two parts. Themeing is all about colors, leave it be. You can find another way to create a dynamic CSS rule which changes every time the configuration changes. The |
@joaomoreno The PR to customize the width has not been merged. Is this planned for the January milestone? If not, can we move it to February? |
It's a separate issue. To verify this, just verify the colors. |
But this issue was about additional diff styling and wasn't implemented. |
Sure. |
Fixed by #43334 |
As per conversation with @aeschli , @chrisdias and @seanmcbreen , here is a list of style settings I'd love to see exposed in VS Code.
Git Diffs
Expose the margin, border, box shadow and background color for the git diff indicators. We currently have the background color, but the others are not. This would allow a cool effect like this:
cc #38990
The text was updated successfully, but these errors were encountered: