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

styles for diff on markdown preview #59289

Merged
merged 2 commits into from
Sep 25, 2018
Merged

styles for diff on markdown preview #59289

merged 2 commits into from
Sep 25, 2018

Conversation

agurod42
Copy link
Contributor

Fixes #59288

@@ -258,6 +258,16 @@
color: var(--vscode-textPreformat-foreground);
}

code span.hljs-addition {
background: var(--vscode-diffEditor-insertedTextBackground, rgba(155, 185, 85, 0.2));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

}

code span.hljs-deletion {
background: var(--vscode-diffEditor-removedTextBackground, rgba(255, 0, 0, 0.2));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mjbvz mjbvz added this to the September 2018 milestone Sep 25, 2018
Copy link
Contributor

@mjbvz mjbvz left a comment

Choose a reason for hiding this comment

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

Thanks for the fix. The new css looks good but please move these into the markdown specific css file: /extensions/markdown-language-features/media/highlight.css

@mjbvz mjbvz merged commit 9041e6a into microsoft:master Sep 25, 2018
@mjbvz
Copy link
Contributor

mjbvz commented Sep 25, 2018

Awesome! This change will be in the next vs code insiders build and will go to stable in 1.28

@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.

Wrong diff colors on markdown preview
2 participants