ShowtimeSherlock1 / theme.py
leahaller's picture
add data and other files
6ec1dc8
raw
history blame contribute delete
994 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="url(https://huggingface.co/datasets/leahaller/SSInterface/resolve/main/background_lightmode.png) center center/contain border-box content-box",
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="url(https://datasets-server.huggingface.co/assets/leahaller/SSInterface/--/030c0ac151d73fe0e4f91803253d92eaf232f6c6/--/default/train/0/image/image.png) center center/contain border-box content-box",
block_background_fill_dark= "#000000B2"
)