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

Update review comment styles #56595

Merged
merged 5 commits into from
Aug 16, 2018
Merged

Update review comment styles #56595

merged 5 commits into from
Aug 16, 2018

Conversation

miguelsolorio
Copy link
Contributor

@miguelsolorio miguelsolorio commented Aug 16, 2018

Fixes #206 #57

Before

After

@@ -17,7 +17,7 @@ import { EmbeddedCodeEditorWidget } from 'vs/editor/browser/widget/embeddedCodeE
import { IEditorContribution } from 'vs/editor/common/editorCommon';
import { IRange } from 'vs/editor/common/core/range';
import * as modes from 'vs/editor/common/modes';
import { peekViewEditorBackground, peekViewResultsBackground, peekViewResultsSelectionBackground } from 'vs/editor/contrib/referenceSearch/referencesWidget';
import { peekViewEditorBackground, peekViewResultsBackground, peekViewResultsSelectionBackground, peekViewTitleBackground } from 'vs/editor/contrib/referenceSearch/referencesWidget';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like peekViewEditorBackground is unused

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

@@ -602,7 +602,7 @@ registerThemingParticipant((theme, collector) => {
`}`);
}

let monacoEditorBackground = theme.getColor(peekViewEditorBackground);
let monacoEditorBackground = theme.getColor(peekViewTitleBackground);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks better on most themes, but on Quiet Light it matches the rest of the background. Should we use something else like the input background? Or do you think it looks ok on Quiet Light?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed on some themes this does blend in. I thought about using the input background but then that would mean we'd need to use it in the text area, which currently uses editorBackground and was what I was trying to match.

Here's what it would look like if we used the input bg colo. Thoughts?
image

image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks good to me 👍

Copy link
Member

@rebornix rebornix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@miguelsolorio miguelsolorio merged commit 5b43c8f into master Aug 16, 2018
@miguelsolorio miguelsolorio deleted the misolori/review-comment branch August 16, 2018 21:07
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: SVN Support
4 participants