File size: 724 Bytes
36ae4b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"
        )