Skip to content

Commit f39dcf4

Browse files
authored
refactor(chat): show inline code more subtle (#2747)
* refactor(chat): show inline code more subtle * refactor: make inline code more readable
1 parent 026a3e1 commit f39dcf4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

webview-ui/src/components/common/MarkdownBlock.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,10 @@ const remarkUrlToLink = () => {
5757
const StyledMarkdown = styled.div`
5858
code:not(pre > code) {
5959
font-family: var(--vscode-editor-font-family, monospace);
60-
color: var(--vscode-textPreformat-foreground, #f78383);
61-
background-color: var(--vscode-textCodeBlock-background, #1e1e1e);
60+
filter: saturation(110%) brightness(95%);
61+
color: var(--vscode-textPreformat-foreground) !important;
62+
background-color: var(--vscode-textPreformat-background) !important;
6263
padding: 0px 2px;
63-
border-radius: 3px;
64-
border: 1px solid var(--vscode-textSeparator-foreground, #424242);
6564
white-space: pre-line;
6665
word-break: break-word;
6766
overflow-wrap: anywhere;

0 commit comments

Comments
 (0)