diff --git a/css/html_instruct_style.css b/css/html_instruct_style.css index 458feafc..aa61f33b 100644 --- a/css/html_instruct_style.css +++ b/css/html_instruct_style.css @@ -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; diff --git a/css/main.css b/css/main.css index 913576c5..d06d2905 100644 --- a/css/main.css +++ b/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; } diff --git a/modules/ui.py b/modules/ui.py index 02b5a9fb..73072cbe 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -75,7 +75,7 @@ if not shared.args.old_colors: background_fill_primary_dark='var(--darker-gray, #1C1C1D)', body_background_fill="white", block_background_fill="transparent", - body_text_color='rgb(64, 64, 64)', + body_text_color='#1a1a1a', button_secondary_background_fill="white", button_secondary_border_color="var(--border-color-primary)", block_title_text_color='*body_text_color',