Spaces:
Runtime error
Runtime error
updated theme
Browse files- app.py +3 -0
- theme_upload.py +8 -0
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
@@ -21,6 +21,8 @@ theme = gr.themes.Base(
|
|
21 |
button_secondary_background_fill_dark="#0063a3",
|
22 |
button_secondary_background_fill_hover_dark="#004f83",
|
23 |
button_secondary_text_color_dark="#ffffff",
|
|
|
|
|
24 |
button_primary_background_fill="#fbad26",
|
25 |
button_primary_background_fill_hover="#e49325",
|
26 |
button_primary_text_color="#ffffff",
|
@@ -37,6 +39,12 @@ theme = gr.themes.Base(
|
|
37 |
checkbox_border_color_hover_dark = "#0063a3",
|
38 |
checkbox_border_color_selected = "#0063a3",
|
39 |
checkbox_border_color_selected_dark = "#0063a3",
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
checkbox_label_text_color="#ffffff",
|
41 |
checkbox_label_text_color_dark="#ffffff",
|
42 |
slider_color="#0063a3",
|
|
|
21 |
button_secondary_background_fill_dark="#0063a3",
|
22 |
button_secondary_background_fill_hover_dark="#004f83",
|
23 |
button_secondary_text_color_dark="#ffffff",
|
24 |
+
|
25 |
+
|
26 |
button_primary_background_fill="#fbad26",
|
27 |
button_primary_background_fill_hover="#e49325",
|
28 |
button_primary_text_color="#ffffff",
|
|
|
39 |
checkbox_border_color_hover_dark = "#0063a3",
|
40 |
checkbox_border_color_selected = "#0063a3",
|
41 |
checkbox_border_color_selected_dark = "#0063a3",
|
42 |
+
checkbox_label_background_fill = "#b7b9c3",
|
43 |
+
checkbox_label_background_fill_dark = "#fbad26",
|
44 |
+
checkbox_label_background_fill_hover = "#b7b9c3",
|
45 |
+
checkbox_label_background_fill_hover_dark = "#fbad26",
|
46 |
+
checkbox_label_background_fill_selected = "#b7b9c3",
|
47 |
+
checkbox_label_background_fill_selected_dark = "#fbad26",
|
48 |
checkbox_label_text_color="#ffffff",
|
49 |
checkbox_label_text_color_dark="#ffffff",
|
50 |
slider_color="#0063a3",
|