Markdown Preview Code Block's Text with Bad Contrast #171963
Labels
bug
Issue identified by VS Code Team member as probable bug
*duplicate
Issue identified as a duplicate of another issue(s)
markdown
Markdown support issues
Type: Bug
![螢幕擷取畫面 2023-01-23 120506](https://user-images.githubusercontent.com/57604590/213964134-ad60e8f9-6b02-4502-90c6-94e040eea1b9.png)
![螢幕擷取畫面 2023-01-23 135205](https://user-images.githubusercontent.com/57604590/213974248-c70d68fb-b769-40d9-847b-67b9f80771fd.png)
Does this issue occur when all extensions are disabled?: Yes (without Shiki)
The gray text in the picture above has a low contrast with light themes. The element might be .hljs-subst in highlight.css
The problem is worse in my theme because code blocks are also gray.
Steps to Reproduce:
(the code may be not legal, I just simplified it which is from my extension's issue to make it easier to read.)
See the issue huacat1017/huacat.pink-theme#2
VS Code version: Code 1.74.3 (97dec17, 2023-01-09T16:59:02.252Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (43)
(7 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: