Skip to content

Commit 445d4b9

Browse files
authored
Merge pull request #395 from primer/damovisa/dark-high-contrast-inline-code-block
Damovisa/dark high contrast inline code block
2 parents 38b50d4 + b7991c4 commit 445d4b9

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.changeset/orange-readers-carry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"github-vscode-theme": patch
3+
---
4+
5+
Fix inline code block contrast for High Contrast theme.

src/theme.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ function getTheme({ theme, name }) {
5252
"textBlockQuote.border" : color.border.default,
5353
"textCodeBlock.background" : color.neutral.muted,
5454
"textPreformat.foreground" : color.fg.muted,
55+
"textPreformat.background" : color.neutral.muted,
5556
"textSeparator.foreground" : color.border.muted,
5657

5758
"icon.foreground" : color.fg.muted,

0 commit comments

Comments
 (0)