Updating theme
Browse files- README.md +17 -21
- app.py +3 -3
- themes/theme_schema@0.5.12.json +1 -0
README.md
CHANGED
@@ -1,21 +1,17 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
title:
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
This is a yellow and purple theme for Gradio, inspired by bees and hexagons! 🐝
|
19 |
-
## Contributions
|
20 |
-
Thanks to [@Surn](https://huggingface.co/Surn) for adding this gradio theme!
|
21 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags: [gradio-theme]
|
4 |
+
title: beeuty
|
5 |
+
colorFrom: red
|
6 |
+
colorTo: purple
|
7 |
+
sdk: gradio
|
8 |
+
sdk_version: 5.12.0
|
9 |
+
app_file: app.py
|
10 |
+
pinned: false
|
11 |
+
license: apache-2.0
|
12 |
+
---
|
13 |
+
# beeuty
|
14 |
+
## Description
|
15 |
+
Add a description of this theme here!
|
16 |
+
## Contributions
|
17 |
+
Thanks to [@Surn](https://huggingface.co/Surn) for adding this gradio theme!
|
|
|
|
|
|
|
|
app.py
CHANGED
@@ -5,13 +5,13 @@ from gradio.themes.utils.theme_dropdown import create_theme_dropdown
|
|
5 |
|
6 |
dropdown, js = create_theme_dropdown()
|
7 |
|
8 |
-
with gr.Blocks(theme='Surn/
|
9 |
with gr.Row(equal_height=True):
|
10 |
with gr.Column(scale=10):
|
11 |
gr.Markdown(
|
12 |
"""
|
13 |
-
# Theme preview: `
|
14 |
-
To use this theme, set `theme='Surn/
|
15 |
You can append an `@` and a semantic version expression, e.g. @>=1.0.0,<2.0.0 to pin to a given version
|
16 |
of this theme.
|
17 |
"""
|
|
|
5 |
|
6 |
dropdown, js = create_theme_dropdown()
|
7 |
|
8 |
+
with gr.Blocks(theme='Surn/beeuty') as demo:
|
9 |
with gr.Row(equal_height=True):
|
10 |
with gr.Column(scale=10):
|
11 |
gr.Markdown(
|
12 |
"""
|
13 |
+
# Theme preview: `beeuty`
|
14 |
+
To use this theme, set `theme='Surn/beeuty'` in `gr.Blocks()` or `gr.Interface()`.
|
15 |
You can append an `@` and a semantic version expression, e.g. @>=1.0.0,<2.0.0 to pin to a given version
|
16 |
of this theme.
|
17 |
"""
|
themes/theme_schema@0.5.12.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"theme": {"_font": [{"__gradio_font__": true, "name": "Optima", "class": "local", "weights": [400, 700]}, {"__gradio_font__": true, "name": "Candara", "class": "local", "weights": [400, 700]}, {"__gradio_font__": true, "name": "Noto Sans", "class": "local", "weights": [400, 700]}, {"__gradio_font__": true, "name": "source-sans-pro", "class": "local", "weights": [400, 700]}], "_font_css": ["\n@font-face {\n font-family: 'Optima';\n src: url('static/fonts/Optima/Optima-Regular.woff2') format('woff2');\n font-weight: Regular;\n font-style: normal;\n}\n\n\n@font-face {\n font-family: 'Optima';\n src: url('static/fonts/Optima/Optima-Bold.woff2') format('woff2');\n font-weight: Bold;\n font-style: normal;\n}\n", "\n@font-face {\n font-family: 'Candara';\n src: url('static/fonts/Candara/Candara-Regular.woff2') format('woff2');\n font-weight: Regular;\n font-style: normal;\n}\n\n\n@font-face {\n font-family: 'Candara';\n src: url('static/fonts/Candara/Candara-Bold.woff2') format('woff2');\n font-weight: Bold;\n font-style: normal;\n}\n", "\n@font-face {\n font-family: 'Noto Sans';\n src: url('static/fonts/NotoSans/NotoSans-Regular.woff2') format('woff2');\n font-weight: Regular;\n font-style: normal;\n}\n\n\n@font-face {\n font-family: 'Noto Sans';\n src: url('static/fonts/NotoSans/NotoSans-Bold.woff2') format('woff2');\n font-weight: Bold;\n font-style: normal;\n}\n", "\n@font-face {\n font-family: 'source-sans-pro';\n src: url('static/fonts/source-sans-pro/source-sans-pro-Regular.woff2') format('woff2');\n font-weight: Regular;\n font-style: normal;\n}\n\n\n@font-face {\n font-family: 'source-sans-pro';\n src: url('static/fonts/source-sans-pro/source-sans-pro-Bold.woff2') format('woff2');\n font-weight: Bold;\n font-style: normal;\n}\n", "\n@font-face {\n font-family: 'ui-monospace';\n src: url('static/fonts/ui-monospace/ui-monospace-Regular.woff2') format('woff2');\n font-weight: Regular;\n font-style: normal;\n}\n\n\n@font-face {\n font-family: 'ui-monospace';\n src: url('static/fonts/ui-monospace/ui-monospace-Bold.woff2') format('woff2');\n font-weight: Bold;\n font-style: normal;\n}\n", "\n@font-face {\n font-family: 'Consolas';\n src: url('static/fonts/Consolas/Consolas-Regular.woff2') format('woff2');\n font-weight: Regular;\n font-style: normal;\n}\n\n\n@font-face {\n font-family: 'Consolas';\n src: url('static/fonts/Consolas/Consolas-Bold.woff2') format('woff2');\n font-weight: Bold;\n font-style: normal;\n}\n", "\n@font-face {\n font-family: 'monospace';\n src: url('static/fonts/monospace/monospace-Regular.woff2') format('woff2');\n font-weight: Regular;\n font-style: normal;\n}\n\n\n@font-face {\n font-family: 'monospace';\n src: url('static/fonts/monospace/monospace-Bold.woff2') format('woff2');\n font-weight: Bold;\n font-style: normal;\n}\n"], "_font_mono": [{"__gradio_font__": true, "name": "IBM Plex Mono", "class": "google", "weights": ["400", "600"]}, {"__gradio_font__": true, "name": "ui-monospace", "class": "local", "weights": [400, 700]}, {"__gradio_font__": true, "name": "Consolas", "class": "local", "weights": [400, 700]}, {"__gradio_font__": true, "name": "monospace", "class": "local", "weights": [400, 700]}], "_stylesheets": ["https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&display=swap"], "accordion_text_color": "*neutral_950", "accordion_text_color_dark": "*neutral_50", "background_fill_primary": "*primary_600", "background_fill_primary_dark": "*primary_500", "background_fill_secondary": "*primary_500", "background_fill_secondary_dark": "*secondary_900", "block_background_fill": "*primary_300", "block_background_fill_dark": "*primary_800", "block_border_color": "*border_color_primary", "block_border_color_dark": "*border_color_primary", "block_border_width": "0px", "block_border_width_dark": "1px", "block_info_text_color": "*body_text_color_subdued", "block_info_text_color_dark": "*body_text_color_subdued", "block_info_text_size": "*text_sm", "block_info_text_weight": "400", "block_label_background_fill": "*primary_200", "block_label_background_fill_dark": "*primary_700", "block_label_border_color": "*border_color_primary", "block_label_border_color_dark": "*border_color_primary", "block_label_border_width": "1px", "block_label_border_width_dark": "1px", "block_label_margin": "1px", "block_label_padding": "*spacing_sm *spacing_lg", "block_label_radius": "calc(*radius_sm - 1px) 0 calc(*radius_sm - 1px) 0", "block_label_right_radius": "0 calc(*radius_sm - 1px) 0 calc(*radius_sm - 1px)", "block_label_shadow": "*block_shadow", "block_label_text_color": "*primary_950", "block_label_text_color_dark": "*neutral_200", "block_label_text_size": "*text_md", "block_label_text_weight": "600", "block_padding": "*spacing_xl calc(*spacing_xl + 2px)", "block_radius": "*radius_sm", "block_shadow": "*primary_400 0px 0px 3px 0px", "block_shadow_dark": "*primary_400 0px 0px 3px 0px", "block_title_background_fill": "none", "block_title_background_fill_dark": "none", "block_title_border_color": "none", "block_title_border_color_dark": "none", "block_title_border_width": "0px", "block_title_border_width_dark": "0px", "block_title_padding": "0", "block_title_radius": "none", "block_title_text_color": "*primary_800", "block_title_text_color_dark": "*neutral_200", "block_title_text_size": "*text_md", "block_title_text_weight": "600", "body_background_fill": "*background_fill_primary", "body_background_fill_dark": "*background_fill_secondary", "body_text_color": "*neutral_900", "body_text_color_dark": "*secondary_200", "body_text_color_subdued": "*neutral_800", "body_text_color_subdued_dark": "*neutral_200", "body_text_size": "*text_md", "body_text_weight": "400", "border_color_accent": "*primary_900", "border_color_accent_dark": "*neutral_600", "border_color_accent_subdued": "*border_color_accent", "border_color_accent_subdued_dark": "*border_color_accent", "border_color_primary": "*neutral_800", "border_color_primary_dark": "*secondary_600", "button_border_width": "1px", "button_border_width_dark": "1px", "button_cancel_background_fill": "*button_primary_background_fill", "button_cancel_background_fill_dark": "*button_primary_background_fill", "button_cancel_background_fill_hover": "*button_primary_background_fill_hover", "button_cancel_background_fill_hover_dark": "*button_primary_background_fill_hover", "button_cancel_border_color": "*button_secondary_border_color", "button_cancel_border_color_dark": "*button_secondary_border_color", "button_cancel_border_color_hover": "*button_secondary_border_color_hover", "button_cancel_border_color_hover_dark": "*button_secondary_border_color_hover", "button_cancel_text_color": "*button_secondary_text_color", "button_cancel_text_color_dark": "*button_secondary_text_color", "button_cancel_text_color_hover": "*button_secondary_text_color_hover", "button_cancel_text_color_hover_dark": "white", "button_large_padding": "*spacing_lg calc(2 * *spacing_lg)", "button_large_radius": "*radius_md", "button_large_text_size": "*text_lg", "button_large_text_weight": "600", "button_medium_padding": "*spacing_md calc(2 * *spacing_md)", "button_medium_radius": "*radius_md", "button_medium_text_size": "*text_md", "button_medium_text_weight": "600", "button_primary_background_fill": "linear-gradient(180deg, *primary_50 0%, *primary_200 50%, *primary_300 50%, *primary_200 100%)", "button_primary_background_fill_dark": "linear-gradient(180deg, *primary_400 0%, *primary_500 50%, *primary_600 50%, *primary_500 100%)", "button_primary_background_fill_hover": "linear-gradient(180deg, *primary_100 0%, *primary_200 50%, *primary_300 50%, *primary_200 100%)", "button_primary_background_fill_hover_dark": "linear-gradient(180deg, *primary_400 0%, *primary_500 50%, *primary_600 50%, *primary_500 100%)", "button_primary_border_color": "*primary_500", "button_primary_border_color_dark": "*primary_600", "button_primary_border_color_hover": "*primary_500", "button_primary_border_color_hover_dark": "*primary_500", "button_primary_shadow": "0px 3px 0px 0px *primary_400;", "button_primary_shadow_active": "0px 2px 0px 0px *primary_400;", "button_primary_shadow_active_dark": "*button_primary_shadow", "button_primary_shadow_dark": "0px 3px 0px 0px *primary_400;", "button_primary_shadow_hover": "0px 5px 0px 0px *primary_400;", "button_primary_shadow_hover_dark": "*button_primary_shadow", "button_primary_text_color": "*primary_800", "button_primary_text_color_dark": "*primary_100", "button_primary_text_color_hover": "*button_primary_text_color", "button_primary_text_color_hover_dark": "*button_primary_text_color", "button_secondary_background_fill": "*button_primary_background_fill", "button_secondary_background_fill_dark": "*button_primary_background_fill", "button_secondary_background_fill_hover": "*button_primary_background_fill_hover", "button_secondary_background_fill_hover_dark": "*button_primary_background_fill_hover", "button_secondary_border_color": "*neutral_200", "button_secondary_border_color_dark": "*neutral_600", "button_secondary_border_color_hover": "*neutral_200", "button_secondary_border_color_hover_dark": "*neutral_500", "button_secondary_shadow": "0px 3px 0px 0px *primary_300;", "button_secondary_shadow_active": "0px 2px 0px 0px *primary_300;", "button_secondary_shadow_active_dark": "*button_secondary_shadow", "button_secondary_shadow_dark": "0px 3px 0px 0px *primary_300;", "button_secondary_shadow_hover": "0px 5px 0px 0px *primary_300;", "button_secondary_shadow_hover_dark": "*button_secondary_shadow", "button_secondary_text_color": "*secondary_950", "button_secondary_text_color_dark": "*secondary_50", "button_secondary_text_color_hover": "*button_secondary_text_color", "button_secondary_text_color_hover_dark": "*button_secondary_text_color", "button_small_padding": "*spacing_sm calc(1.5 * *spacing_sm)", "button_small_radius": "*radius_md", "button_small_text_size": "*text_sm", "button_small_text_weight": "400", "button_transform_active": "none", "button_transform_hover": "none", "button_transition": "all 0.2s ease", "chatbot_text_size": "*text_lg", "checkbox_background_color": "*background_fill_primary", "checkbox_background_color_dark": "*primary_600", "checkbox_background_color_focus": "*checkbox_background_color", "checkbox_background_color_focus_dark": "*checkbox_background_color", "checkbox_background_color_hover": "*checkbox_background_color", "checkbox_background_color_hover_dark": "*checkbox_background_color", "checkbox_background_color_selected": "*color_accent", "checkbox_background_color_selected_dark": "*color_accent", "checkbox_border_color": "*neutral_300", "checkbox_border_color_dark": "*neutral_700", "checkbox_border_color_focus": "*color_accent", "checkbox_border_color_focus_dark": "*color_accent", "checkbox_border_color_hover": "*neutral_300", "checkbox_border_color_hover_dark": "*neutral_600", "checkbox_border_color_selected": "*color_accent", "checkbox_border_color_selected_dark": "*color_accent", "checkbox_border_radius": "*radius_sm", "checkbox_border_width": "0px", "checkbox_border_width_dark": "*input_border_width", "checkbox_check": "url(\"data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e\")", "checkbox_label_background_fill": "*button_secondary_background_fill", "checkbox_label_background_fill_dark": "*button_secondary_background_fill", "checkbox_label_background_fill_hover": "*button_secondary_background_fill_hover", "checkbox_label_background_fill_hover_dark": "*button_secondary_background_fill_hover", "checkbox_label_background_fill_selected": "*checkbox_label_background_fill", "checkbox_label_background_fill_selected_dark": "*checkbox_label_background_fill", "checkbox_label_border_color": "*border_color_primary", "checkbox_label_border_color_dark": "*border_color_primary", "checkbox_label_border_color_hover": "*checkbox_label_border_color", "checkbox_label_border_color_hover_dark": "*checkbox_label_border_color", "checkbox_label_border_color_selected": "*checkbox_label_border_color", "checkbox_label_border_color_selected_dark": "*checkbox_label_border_color", "checkbox_label_border_width": "1px", "checkbox_label_border_width_dark": "*input_border_width", "checkbox_label_gap": "*spacing_lg", "checkbox_label_padding": "*spacing_md calc(2 * *spacing_md)", "checkbox_label_shadow": "none", "checkbox_label_text_color": "*body_text_color", "checkbox_label_text_color_dark": "*body_text_color", "checkbox_label_text_color_selected": "*checkbox_label_text_color", "checkbox_label_text_color_selected_dark": "*checkbox_label_text_color", "checkbox_label_text_size": "*text_md", "checkbox_label_text_weight": "400", "checkbox_shadow": "*input_shadow", "code_background_fill": "*neutral_300", "code_background_fill_dark": "*neutral_600", "color_accent": "*neutral_200", "color_accent_soft": "*primary_200", "color_accent_soft_dark": "*neutral_800", "container_radius": "*radius_sm", "embed_radius": "*radius_sm", "error_background_fill": "#fef2f2", "error_background_fill_dark": "*background_fill_primary", "error_border_color": "#b91c1c", "error_border_color_dark": "#ef4444", "error_border_width": "1px", "error_border_width_dark": "1px", "error_icon_color": "#b91c1c", "error_icon_color_dark": "#ef4444", "error_text_color": "#b91c1c", "error_text_color_dark": "#fef2f2", "font": "'Optima', 'Candara', 'Noto Sans', 'source-sans-pro'", "font_mono": "'IBM Plex Mono', 'ui-monospace', 'Consolas', monospace", "form_gap_width": "0px", "input_background_fill": "linear-gradient(0deg, *primary_300 0%, white 100%)", "input_background_fill_dark": "*secondary_600", "input_background_fill_focus": "*input_background_fill", "input_background_fill_focus_dark": "*input_background_fill", "input_background_fill_hover": "*input_background_fill", "input_background_fill_hover_dark": "*input_background_fill", "input_border_color": "*border_color_primary", "input_border_color_dark": "*border_color_primary", "input_border_color_focus": "*secondary_300", "input_border_color_focus_dark": "*primary_400", "input_border_color_hover": "*input_border_color", "input_border_color_hover_dark": "*input_border_color", "input_border_width": "1px", "input_border_width_dark": "1px", "input_padding": "*spacing_xl", "input_placeholder_color": "*neutral_400", "input_placeholder_color_dark": "*neutral_500", "input_radius": "*radius_sm", "input_shadow": "none", "input_shadow_dark": "none", "input_shadow_focus": "*input_shadow", "input_shadow_focus_dark": "*input_shadow", "input_text_size": "*text_md", "input_text_weight": "400", "layout_gap": "*spacing_xxl", "link_text_color": "*secondary_700", "link_text_color_active": "*neutral_500", "link_text_color_active_dark": "*secondary_500", "link_text_color_dark": "*secondary_300", "link_text_color_hover": "*secondary_800", "link_text_color_hover_dark": "*secondary_400", "link_text_color_visited": "*neutral_500", "link_text_color_visited_dark": "*secondary_600", "loader_color": "*color_accent", "loader_color_dark": "*color_accent", "name": "base", "neutral_100": "#d8bbf7", "neutral_200": "#dac0f7", "neutral_300": "#bb8eec", "neutral_400": "#a669e2", "neutral_50": "#faf5ff", "neutral_500": "#944ed4", "neutral_600": "#8537cd", "neutral_700": "#7e22ce", "neutral_800": "#562183", "neutral_900": "#3f225d", "neutral_950": "#160b23", "panel_background_fill": "*background_fill_secondary", "panel_background_fill_dark": "*background_fill_secondary", "panel_border_color": "*border_color_primary", "panel_border_color_dark": "*border_color_primary", "panel_border_width": "1px", "panel_border_width_dark": "1px", "primary_100": "#fef9c3", "primary_200": "#fef08a", "primary_300": "#fde047", "primary_400": "#fbce50", "primary_50": "#fefce8", "primary_500": "#eab308", "primary_600": "#daa520", "primary_700": "#a16207", "primary_800": "#854d0e", "primary_900": "#713f12", "primary_950": "#653b12", "prose_header_text_weight": "600", "prose_text_size": "*text_md", "prose_text_weight": "400", "radio_circle": "url(\"data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e\")", "radius_lg": "12px", "radius_md": "8px", "radius_sm": "6px", "radius_xl": "16px", "radius_xs": "4px", "radius_xxl": "24px", "radius_xxs": "2px", "secondary_100": "#fef3c7", "secondary_200": "#fde68a", "secondary_300": "#fbce50", "secondary_400": "#fbbf24", "secondary_50": "#fffbeb", "secondary_500": "#daa520", "secondary_600": "#df7a07", "secondary_700": "#b45309", "secondary_800": "#92400e", "secondary_900": "#78350f", "secondary_950": "#6c370f", "section_header_text_size": "*text_md", "section_header_text_weight": "400", "shadow_drop": "rgba(0,0,0,0.05) 0px 1px 2px 0px", "shadow_drop_lg": "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)", "shadow_inset": "rgba(0,0,0,0.05) 0px 2px 4px 0px inset", "shadow_spread": "3px", "shadow_spread_dark": "1px", "slider_color": "*primary_400", "slider_color_dark": "*primary_400", "spacing_lg": "6px", "spacing_md": "4px", "spacing_sm": "2px", "spacing_xl": "9px", "spacing_xs": "1px", "spacing_xxl": "12px", "spacing_xxs": "1px", "stat_background_fill": "*primary_300", "stat_background_fill_dark": "*primary_500", "table_border_color": "*neutral_300", "table_border_color_dark": "*neutral_700", "table_even_background_fill": "*primary_100", "table_even_background_fill_dark": "*neutral_700", "table_odd_background_fill": "*neutral_50", "table_odd_background_fill_dark": "*neutral_800", "table_radius": "*radius_sm", "table_row_focus": "*color_accent_soft", "table_row_focus_dark": "*color_accent_soft", "table_text_color": "*body_text_color", "table_text_color_dark": "*body_text_color", "text_lg": "16px", "text_md": "14px", "text_sm": "12px", "text_xl": "22px", "text_xs": "10px", "text_xxl": "26px", "text_xxs": "9px"}, "version": {"version": "0.5.12"}}
|