Spaces:
Runtime error
Runtime error
updated theme
Browse files- app.py +3 -0
- theme_upload.py +9 -1
app.py
CHANGED
|
@@ -6,6 +6,9 @@ from gradio.themes.utils.theme_dropdown import create_theme_dropdown
|
|
| 6 |
dropdown, js = create_theme_dropdown()
|
| 7 |
|
| 8 |
with gr.Blocks(theme='trimble/trimble_ai_theme') as demo:
|
|
|
|
|
|
|
|
|
|
| 9 |
with gr.Row(equal_height=True):
|
| 10 |
with gr.Column(scale=10):
|
| 11 |
gr.Markdown(
|
|
|
|
| 6 |
dropdown, js = create_theme_dropdown()
|
| 7 |
|
| 8 |
with gr.Blocks(theme='trimble/trimble_ai_theme') as demo:
|
| 9 |
+
|
| 10 |
+
gr.HTML("<img src=\"https://huggingface.co/spaces/trimble/trimble_ai_theme/resolve/main/images/logo.png\">")
|
| 11 |
+
|
| 12 |
with gr.Row(equal_height=True):
|
| 13 |
with gr.Column(scale=10):
|
| 14 |
gr.Markdown(
|
theme_upload.py
CHANGED
|
@@ -48,7 +48,15 @@ theme = gr.themes.Base(
|
|
| 48 |
checkbox_label_text_color="#ffffff",
|
| 49 |
checkbox_label_text_color_dark="#ffffff",
|
| 50 |
slider_color="#0063a3",
|
| 51 |
-
slider_color_dark="#0063a3"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
)
|
| 53 |
|
| 54 |
theme.push_to_hub(
|
|
|
|
| 48 |
checkbox_label_text_color="#ffffff",
|
| 49 |
checkbox_label_text_color_dark="#ffffff",
|
| 50 |
slider_color="#0063a3",
|
| 51 |
+
slider_color_dark="#0063a3",
|
| 52 |
+
link_text_color = "#217cbb",
|
| 53 |
+
link_text_color_dark = "#217cbb",
|
| 54 |
+
link_text_color_active = "#217cbb",
|
| 55 |
+
link_text_color_active_dark = "#217cbb",
|
| 56 |
+
link_text_color_hover = "#0063a3",
|
| 57 |
+
link_text_color_hover_dark = "#0063a3",
|
| 58 |
+
link_text_color_visited = "#0e416c",
|
| 59 |
+
link_text_color_visited_dark = "#0e416c"
|
| 60 |
)
|
| 61 |
|
| 62 |
theme.push_to_hub(
|