teachlab / theme.py
anh-dangv94's picture
fonts
0657501
raw
history blame contribute delete
643 Bytes
import gradio as gr
class CustomTheme(gr.themes.Base):
def __init__(self):
super().__init__(
primary_hue="blue",
secondary_hue="gray",
neutral_hue="gray",
)
# Setze spezifische Farben
self.set(
body_background_fill="#8EA1C0",
body_background_fill_dark="#8EA1C0",
button_primary_background_fill="#8EA1C0",
button_primary_background_fill_hover="#7A91B0",
button_primary_text_color="#FFFFFF",
button_secondary_background_fill="#EDEDED",
input_background_fill="#EDEDED",
)