Преглед изворни кода

Make highlighted text gray in cai-chat mode

oobabooga пре 2 година
родитељ
комит
e4440cd984
1 измењених фајлова са 9 додато и 0 уклоњено
  1. 9 0
      modules/html_generator.py

+ 9 - 0
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 = ''