Improve chat code block contrast

This commit is contained in:
Ishaan Gupta 2026-06-09 19:09:13 +05:30
parent e9bff4abad
commit c160453be8

View file

@ -202,20 +202,31 @@
border-radius: 0.75rem;
background: #080b10 !important;
padding: 0.875rem 1rem;
color: #e4e4e7 !important;
color: #f4f4f5 !important;
}
.chat-markdown-content pre code {
display: block;
background: transparent !important;
padding: 0;
color: #e4e4e7 !important;
font-size: 0.8125rem;
color: #f4f4f5 !important;
font-size: 0.875rem;
line-height: 1.65;
text-shadow: none;
white-space: pre;
}
.chat-markdown-content pre code *,
.chat-markdown-content pre [style] {
background: transparent !important;
color: #f4f4f5 !important;
text-shadow: none !important;
}
.chat-markdown-content pre code .line {
min-height: 1.45em;
}
.chat-markdown-content :not(pre) > code {
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 0.375rem;