ShowtimeSherlock / theme.py
leahaller's picture
Upload 52 files
36ae4b7 verified
raw
history blame contribute delete
724 Bytes
from gradio.themes.soft import Base
import gradio as gr
class CustomTheme(Base):
def __init__(self):
super().__init__()
super().set(
#light mode
#body_background_fill= "white",
body_background_fill="#222831",
block_background_fill= "#000000B2",
body_text_color= "white", #Schriftfarbe bei message
button_secondary_text_color="white", #example buttons und chat löschen button Schriftfarbe
#dark mode
body_background_fill_dark="#222831",
block_background_fill_dark= "#000000B2",
error_border_color_dark="#ffc300",
background_fill_primary_dark="#ffc300"
)