mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-04 02:31:26 +00:00
Improve chat code block contrast
This commit is contained in:
parent
e9bff4abad
commit
c160453be8
1 changed files with 14 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue