mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-20 22:13:43 +00:00
UI: Improve message text contrast
This commit is contained in:
parent
7fed60f90a
commit
ffea8f282e
3 changed files with 15 additions and 6 deletions
|
|
@ -13,7 +13,7 @@
|
|||
line-height: 28px !important;
|
||||
}
|
||||
|
||||
.dark .chat .message-body :is(p,li,h1,h2,h3,h4,h5,h6),
|
||||
.dark .chat .message-body :is(p,li),
|
||||
.dark .chat .message-body em:not(:is(h1,h2,h3,h4,h5,h6,b,strong) em),
|
||||
.dark .chat .message-body q:not(:is(h1,h2,h3,h4,h5,h6,b,strong) q) {
|
||||
color: #d1d5db !important;
|
||||
|
|
|
|||
17
css/main.css
17
css/main.css
|
|
@ -436,15 +436,24 @@ audio {
|
|||
.dark .message-body h4,
|
||||
.dark .message-body h5,
|
||||
.dark .message-body h6 {
|
||||
color: white !important;
|
||||
color: #e8e8e8 !important;
|
||||
}
|
||||
|
||||
.dark .message-body blockquote {
|
||||
border-left-color: rgb(255 255 255 / 30%);
|
||||
}
|
||||
|
||||
.message-body h1,
|
||||
.message-body h2,
|
||||
.message-body h3,
|
||||
.message-body h4,
|
||||
.message-body h5,
|
||||
.message-body h6 {
|
||||
color: #1a1a1a;
|
||||
}
|
||||
|
||||
.message-body h1 {
|
||||
font-weight: 800;
|
||||
font-weight: 700;
|
||||
font-size: 2.25em;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.8888889em;
|
||||
|
|
@ -476,13 +485,13 @@ audio {
|
|||
}
|
||||
|
||||
.message-body h5 {
|
||||
font-weight: normal;
|
||||
font-weight: 600;
|
||||
font-size: 1em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.message-body h6 {
|
||||
font-weight: normal;
|
||||
font-weight: 600;
|
||||
font-size: 1em;
|
||||
margin: 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue