Download theme.py from Titat/FiveStars: direct link, hf CLI and curl.
- Browser
- Download file 332 Bytes
-
https://huggingface.co/spaces/Titat/FiveStars/resolve/main/theme.py
- Command line
-
hf download hf://spaces/Titat/FiveStars/theme.py
-
curl -L -o theme.py https://huggingface.co/spaces/Titat/FiveStars/resolve/main/theme.py
332 Bytes
| from gradio.themes.base import Base | |
| class CustomTheme(Base): | |
| def __init__(self): | |
| super().__init__() | |
| super().set( | |
| body_background_fill="#942828", | |
| body_background_fill_dark="#737070", | |
| input_background_fill="#ffffff", | |
| input_background_fill_dark="#9d9b9b" | |
| ) |