-
Notifications
You must be signed in to change notification settings - Fork 329
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
Inline code block outline is too dark on light background #734
Comments
Thanks for the feedback. The color was picked based on a dark theme I was using, although I switched to a light one recently. We now have the API to know the theme kind (microsoft/vscode#32813 (comment)) but picking a proper color is still challenging as there are many different themes. |
Does vscode's extension or theme engine let you pick the color by blending 10-20% of the foreground color into the background color (linearly interpolating between them) in linear or sRGB-gamma color space? |
That's a good idea, although we cannot access the theme color yet. |
I don't think we really need the actual color value. Color reference sounds enough in this case. What about |
I roughly know that VS Code now provides ThemeColor APIs? As for which color to use, we can play around with it and then decide. |
Emmm ... No. The
I only tested selection colors and word highlight colors with the built-in Light, Dark, and Monokai themes, and the following looked good to me:
Thinking I'm on VS Code 1.51.0, on Windows, with a calibrated 100% sRGB display. |
👍 |
If nothing is wrong, I will push to |
What is the problem?
If "Syntax: Decorations" are enabled, and you pick a light theme, then inline code blocks have too dark of an outline around them.
How can I reproduce it?
"markdown.extension.syntax.decorations": true
."workbench.colorTheme": "Default Light+"
(switch to light editor color theme).Screenshot:
The text was updated successfully, but these errors were encountered: