Skip to content
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

Gutter color should be consistent with scrollbar for new content #12829

Closed
octref opened this issue Sep 27, 2016 · 7 comments
Closed

Gutter color should be consistent with scrollbar for new content #12829

octref opened this issue Sep 27, 2016 · 7 comments
Labels
feature-request Request for new features or functionality git GIT issues good first issue Issues identified as good for first-time contributors help wanted Issues identified as good community contribution opportunities
Milestone

Comments

@octref
Copy link
Contributor

octref commented Sep 27, 2016

For newly added content, color on gutter should be consistent with the one in scrollbar.

image

image

@joaomoreno joaomoreno self-assigned this Sep 28, 2016
@joaomoreno joaomoreno added the info-needed Issue requires more information from poster label Sep 28, 2016
@joaomoreno
Copy link
Member

Where does that blue come from? AFAIK Code doesn't have those decorations, is that an extension?

@octref
Copy link
Contributor Author

octref commented Sep 28, 2016

@joaomoreno It's the git integration on the scrollbar I believe. I tried running vscode with --disable-extensions it's still there:

image

Same for deleted lines (red left & blue right):

image

@joaomoreno
Copy link
Member

joaomoreno commented Sep 28, 2016

Oh yeah, sorry man, totally spaced out there.

This was a purposeful decision. We decided to go with blue for the scrollbar colour, independently of the type of code change, to reduce traffic light syndrome. Not to mention that the decorations would be confused for errors and warnings...

If you feel passionate about it, we can make it into a setting.

@octref octref added feature-request Request for new features or functionality editor ux User experience issues and removed info-needed Issue requires more information from poster labels Oct 1, 2016
@octref
Copy link
Contributor Author

octref commented Oct 1, 2016

@bgashler1 Any thoughts?

Possibly related: #8017

@joaomoreno joaomoreno added help wanted Issues identified as good community contribution opportunities git GIT issues good first issue Issues identified as good for first-time contributors and removed editor ux User experience issues labels Apr 26, 2017
@joaomoreno joaomoreno added this to the Backlog milestone Apr 26, 2017
@joaomoreno joaomoreno removed their assignment Apr 26, 2017
@octref
Copy link
Contributor Author

octref commented Nov 16, 2017

These are incomingBaseColor from here: https://github.com/Microsoft/vscode/blob/master/src/vs/platform/theme/common/colorRegistry.ts#L282
and editorGutterAddedBackground from here:
https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/scm/electron-browser/dirtydiffDecorator.ts#L711-L715

@alexandrudima Can we make them consistent, or is this as-designed?
Should I try to submit a PR against these two files or each of the included themes?

@alexdima
Copy link
Member

@octref I did not define those colors. fyi they are configurable AFAIK and @aeschli changed them to be green<->green, blue<->blue and red<->red both in the line decorations and in the overview ruler and the feedback was overwhelmingly negative.

@octref
Copy link
Contributor Author

octref commented Nov 17, 2017

They are indeed configurable through themes.

@aeschli changed them to be green<->green, blue<->blue and red<->red both in the line decorations and in the overview ruler and the feedback was overwhelmingly negative.

I guess that's how dark plus should be colored then.
My theme (Nord) is consistent so I don't mind it.

@octref octref closed this as completed Nov 17, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality git GIT issues good first issue Issues identified as good for first-time contributors help wanted Issues identified as good community contribution opportunities
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants