Repository navigation
Commit 8823c06
committed
fix(gui): keep inline code readable in high-contrast themes
StyledMarkdownPreview only overrode the background of inline code, so
VS Code's textPreformat foreground ended up on a background it wasn't
meant for (white on white in Light High Contrast). Use the
textPreformat foreground/background pair, fall back to the current
colors, and leave symbol links unchanged.
Fixes #134241 parent 5522c6f commit 8823c06
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
111 | 120 | | |
112 | 121 | | |
113 | 122 | | |
| |||
0 commit comments