Spaces:
Runtime error
Runtime error
Download theme.py from MarieBlumenau/Buddy: direct link, hf CLI and curl.
- Browser
- Download file 1.4 kB
-
https://huggingface.co/spaces/MarieBlumenau/Buddy/resolve/main/theme.py
- Command line
-
hf download hf://spaces/MarieBlumenau/Buddy/theme.py
-
curl -L -o theme.py https://huggingface.co/spaces/MarieBlumenau/Buddy/resolve/main/theme.py
1.4 kB
| from gradio.themes.base import Base | |
| class CustomTheme(Base): | |
| def __init__(self): | |
| super().__init__() | |
| black ="#000000" | |
| white = "#FFFFFF" | |
| purple = "#571DF9" | |
| red = "#FA5558" | |
| emerald = "#50C878" | |
| cadetBlue = "#53868B" | |
| darkCyan = "#008B8B" | |
| kary = "#FFEBD2" | |
| green = "#BFDACD" | |
| green2 ="#74A58D" | |
| green3 = "#9AE998" | |
| green4 = "#98D4B7" | |
| green5 = "#B0DCC7" | |
| green_logo = "#088649" | |
| self.set( | |
| #Hintergrund | |
| body_background_fill= white, | |
| # Buttons | |
| button_primary_background_fill= green, | |
| button_primary_text_color=green_logo, | |
| button_secondary_background_fill=green5, | |
| button_secondary_text_color=black, | |
| button_secondary_border_color=green_logo, | |
| #Blocks | |
| block_background_fill=white, | |
| block_title_text_color= black, | |
| block_title_background_fill= green5, | |
| # Acctente | |
| color_accent_soft=green5, | |
| border_color_accent_subdued=green5, | |
| ) | |
| #body_background_fill_dark= white, | |
| #button_primary_background_fill_dark= green_logo | |
| #button_primary_text_color_dark=white, | |
| #button_secondary_background_fill_dark=green_logo | |
| #button_secondary_text_color_dark=white, |