knowbot / style.py
Decim@97
Knowbot first commit
04e75ed
def get_gradio_style():
return """
body {
background-color: #1e1e1e;
color: white;
}
.gradio-container {
background-color: #1e1e1e;
}
.gr-chat-message.user, .gr-chat-message.assistant {
background-color: #2b2b2b;
color: white;
border-radius: 8px;
padding: 5px 10px;
margin: 5px 0;
}
.gr-button {
background-color: #444444;
color: white;
}
.gr-textbox textarea {
background-color: #2b2b2b;
color: white;
}
span.md h2{
color:white;
}
#component-279{
height: 150px;
}
span.svelte-7ddecg p{
color:white;
}
span.chatbot p{
color: black;
font-weight: bold;
font-style: italic;
font-family: "Arial", sans-serif;
}
textarea.svelte-1ae7ssi{
background: whitesmoke;
font-weight: bold;
}
"""