refactor(chat): show inline code more subtle (#2747)

* refactor(chat): show inline code more subtle

* refactor: make inline code more readable
This commit is contained in:
Dicha Zelianivan Arkana 2025-05-02 01:11:39 +07:00 committed by GitHub
parent 026a3e1059
commit f39dcf40aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,11 +57,10 @@ const remarkUrlToLink = () => {
const StyledMarkdown = styled.div`
code:not(pre > code) {
font-family: var(--vscode-editor-font-family, monospace);
color: var(--vscode-textPreformat-foreground, #f78383);
background-color: var(--vscode-textCodeBlock-background, #1e1e1e);
filter: saturation(110%) brightness(95%);
color: var(--vscode-textPreformat-foreground) !important;
background-color: var(--vscode-textPreformat-background) !important;
padding: 0px 2px;
border-radius: 3px;
border: 1px solid var(--vscode-textSeparator-foreground, #424242);
white-space: pre-line;
word-break: break-word;
overflow-wrap: anywhere;