From e4440cd9841e2b528f9692c8ead8a11eec42fc2e Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:43:32 -0300 Subject: [PATCH] Make highlighted text gray in cai-chat mode --- modules/html_generator.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/html_generator.py b/modules/html_generator.py index da9fed7a..837a6b2b 100644 --- a/modules/html_generator.py +++ b/modules/html_generator.py @@ -276,6 +276,15 @@ def generate_chat_html(history, name1, name2, character): font-size: 15px !important; line-height: 1.428571429 !important; } + + .dark .message-body p em { + color: rgb(138, 138, 138) !important; + } + + .message-body p em { + color: rgb(110, 110, 110) !important; + } + """ output = ''