Revamp cai-chat theme, make it default

This commit is contained in:
oobabooga 2023-09-11 19:30:23 -07:00
parent 47d1ca467b
commit dae428a967
5 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@
padding-bottom: 25px; padding-bottom: 25px;
font-size: 15px; font-size: 15px;
font-family: Helvetica, Arial, sans-serif; font-family: Helvetica, Arial, sans-serif;
line-height: 1.428571429; line-height: 1.3333;
} }
.circle-you { .circle-you {
@ -46,7 +46,7 @@
.message-body p { .message-body p {
margin-bottom: 0 !important; margin-bottom: 0 !important;
font-size: 15px !important; font-size: 15px !important;
line-height: 1.428571429 !important; line-height: 1.3333 !important;
} }
.dark .message-body p em { .dark .message-body p em {

View File

@ -282,7 +282,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
} }
#chat-tab > :first-child, #extensions { #chat-tab > :first-child, #extensions {
max-width: 800px; max-width: 960px;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
@ -304,7 +304,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
.chat { .chat {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
max-width: 800px; max-width: 960px;
height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
padding-right: 15px; padding-right: 15px;

View File

@ -18,7 +18,7 @@ document.querySelector('.header_bar').addEventListener('click', function(event)
if (chat_visible || notebook_visible || default_visible) { if (chat_visible || notebook_visible || default_visible) {
extensions.style.display = 'flex'; extensions.style.display = 'flex';
if (chat_visible) { if (chat_visible) {
extensions.style.maxWidth = "800px"; extensions.style.maxWidth = "960px";
extensions.style.padding = "0px"; extensions.style.padding = "0px";
} else { } else {
extensions.style.maxWidth = "none"; extensions.style.maxWidth = "none";

View File

@ -32,7 +32,7 @@ settings = {
'show_controls': True, 'show_controls': True,
'start_with': '', 'start_with': '',
'mode': 'chat', 'mode': 'chat',
'chat_style': 'TheEncrypted777', 'chat_style': 'cai-chat',
'character': 'None', 'character': 'None',
'prompt-default': 'QA', 'prompt-default': 'QA',
'prompt-notebook': 'QA', 'prompt-notebook': 'QA',

View File

@ -2,7 +2,7 @@ dark_theme: true
show_controls: true show_controls: true
start_with: '' start_with: ''
mode: chat mode: chat
chat_style: TheEncrypted777 chat_style: cai-chat
character: None character: None
prompt-default: QA prompt-default: QA
prompt-notebook: QA prompt-notebook: QA