Spaces:
Paused
Paused
Update themes/theme_schema@0.0.1.json
Browse files- themes/theme_schema@0.0.1.json +77 -167
themes/theme_schema@0.0.1.json
CHANGED
|
@@ -1,146 +1,88 @@
|
|
| 1 |
{
|
| 2 |
"theme": {
|
| 3 |
"_font": [
|
| 4 |
-
{"__gradio_font__": true, "name": "
|
| 5 |
-
{"__gradio_font__": true, "name": "ui-sans-serif", "class": "local", "weights": ["400", "600"]}
|
| 6 |
-
{"__gradio_font__": true, "name": "syne", "class": "google", "weights": ["400", "600"]}
|
| 7 |
],
|
| 8 |
"_font_mono": [
|
| 9 |
{"__gradio_font__": true, "name": "JetBrains Mono", "class": "google", "weights": ["400", "600"]},
|
| 10 |
-
{"__gradio_font__": true, "name": "ui-monospace", "class": "local", "weights": ["400", "600"]}
|
| 11 |
-
{"__gradio_font__": true, "name": "Consolas", "class": "local", "weights": ["400", "600"]}
|
| 12 |
],
|
| 13 |
"_stylesheets": [
|
| 14 |
"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap",
|
| 15 |
"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap"
|
| 16 |
],
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
-
"background_fill_primary_dark": "#000000",
|
| 21 |
-
"background_fill_secondary": "*neutral_800",
|
| 22 |
-
"background_fill_secondary_dark": "*neutral_800",
|
| 23 |
-
"block_background_fill": "*neutral_900",
|
| 24 |
-
"block_background_fill_dark": "*neutral_900",
|
| 25 |
-
"block_border_color": "*neutral_700",
|
| 26 |
"block_border_color_dark": "*neutral_700",
|
| 27 |
"block_border_width": "1px",
|
| 28 |
-
"
|
| 29 |
-
"
|
| 30 |
-
"block_info_text_weight": "400",
|
| 31 |
-
"block_label_background_fill": "#FFFFFF",
|
| 32 |
-
"block_label_background_fill_dark": "#FFFFFF",
|
| 33 |
-
"block_label_border_color": "*neutral_700",
|
| 34 |
-
"block_label_border_width": "1px",
|
| 35 |
-
"block_label_margin": "0",
|
| 36 |
-
"block_label_padding": "*spacing_sm *spacing_md",
|
| 37 |
-
"block_label_radius": "*radius_sm",
|
| 38 |
-
"block_label_text_color": "*neutral_900",
|
| 39 |
"block_label_text_size": "*text_sm",
|
| 40 |
"block_label_text_weight": "500",
|
| 41 |
-
"block_padding": "*
|
| 42 |
"block_radius": "*radius_md",
|
| 43 |
-
"block_shadow": "
|
| 44 |
-
"
|
| 45 |
-
"block_title_border_color": "none",
|
| 46 |
-
"block_title_border_width": "1px",
|
| 47 |
-
"block_title_padding": "0",
|
| 48 |
-
"block_title_radius": "none",
|
| 49 |
-
"block_title_text_color": "*body_text_color",
|
| 50 |
"block_title_text_size": "*text_md",
|
| 51 |
"block_title_text_weight": "600",
|
| 52 |
-
"
|
| 53 |
-
"
|
| 54 |
-
"
|
| 55 |
-
"body_text_color_subdued": "*neutral_400",
|
| 56 |
"body_text_size": "*text_md",
|
| 57 |
"body_text_weight": "400",
|
| 58 |
-
"
|
| 59 |
-
"
|
| 60 |
-
"border_color_primary": "*neutral_700",
|
| 61 |
"button_border_width": "1px",
|
| 62 |
-
"
|
| 63 |
-
"
|
| 64 |
-
"
|
| 65 |
-
"
|
| 66 |
-
"
|
| 67 |
-
"
|
| 68 |
-
"
|
| 69 |
-
"
|
| 70 |
-
"
|
| 71 |
-
"
|
| 72 |
-
"
|
| 73 |
-
"
|
| 74 |
-
"
|
| 75 |
-
"
|
| 76 |
-
"
|
| 77 |
-
"
|
| 78 |
-
"
|
| 79 |
-
"
|
| 80 |
-
"
|
| 81 |
-
"
|
| 82 |
-
"
|
| 83 |
-
"
|
| 84 |
-
"
|
| 85 |
-
"
|
| 86 |
-
"button_secondary_text_color": "*body_text_color",
|
| 87 |
-
"button_secondary_text_color_hover": "*body_text_color",
|
| 88 |
-
"button_small_padding": "*spacing_xs *spacing_sm",
|
| 89 |
-
"button_small_radius": "*radius_sm",
|
| 90 |
-
"button_small_text_size": "*text_sm",
|
| 91 |
-
"button_small_text_weight": "400",
|
| 92 |
-
"button_transition": "all 0.2s ease",
|
| 93 |
-
"chatbot_text_size": "*text_md",
|
| 94 |
-
"checkbox_background_color": "*neutral_800",
|
| 95 |
-
"checkbox_background_color_selected": "*primary_500",
|
| 96 |
-
"checkbox_border_color": "*neutral_600",
|
| 97 |
-
"checkbox_border_color_focus": "*primary_400",
|
| 98 |
-
"checkbox_border_color_selected": "*primary_500",
|
| 99 |
-
"checkbox_border_radius": "*radius_xs",
|
| 100 |
"checkbox_border_width": "2px",
|
| 101 |
-
"
|
| 102 |
-
"
|
| 103 |
-
"
|
| 104 |
-
"
|
| 105 |
-
"
|
| 106 |
-
"
|
| 107 |
-
"
|
| 108 |
-
"
|
| 109 |
-
"
|
| 110 |
-
"
|
| 111 |
-
"
|
| 112 |
-
"
|
| 113 |
-
"
|
| 114 |
-
"
|
| 115 |
-
"
|
| 116 |
-
"error_background_fill": "#FEF2F2",
|
| 117 |
-
"error_border_color": "#EF4444",
|
| 118 |
-
"error_icon_color": "#EF4444",
|
| 119 |
-
"error_text_color": "#EF4444",
|
| 120 |
-
"font": "'Syne', 'ui-sans-serif', 'system-ui', sans-serif",
|
| 121 |
-
"font_mono": "'JetBrains Mono', 'ui-monospace', 'Consolas', monospace",
|
| 122 |
-
"form_gap_width": "0px",
|
| 123 |
-
"input_background_fill": "*neutral_800",
|
| 124 |
-
"input_background_fill_focus": "*neutral_800",
|
| 125 |
-
"input_background_fill_hover": "*neutral_700",
|
| 126 |
-
"input_border_color": "*neutral_600",
|
| 127 |
-
"input_border_color_focus": "*primary_400",
|
| 128 |
"input_border_width": "1px",
|
| 129 |
"input_padding": "*spacing_md",
|
| 130 |
-
"
|
| 131 |
"input_radius": "*radius_md",
|
| 132 |
-
"
|
| 133 |
-
"
|
| 134 |
-
"
|
| 135 |
-
"
|
| 136 |
-
"input_text_weight": "400",
|
| 137 |
-
"layout_gap": "*spacing_xl",
|
| 138 |
-
"link_text_color": "*primary_400",
|
| 139 |
-
"link_text_color_active": "*primary_500",
|
| 140 |
-
"link_text_color_hover": "*primary_300",
|
| 141 |
-
"link_text_color_visited": "*primary_400",
|
| 142 |
-
"loader_color": "#CD1C18",
|
| 143 |
-
"name": "shadowthehedgehog",
|
| 144 |
"neutral_50": "#F9FAFB",
|
| 145 |
"neutral_100": "#F3F4F6",
|
| 146 |
"neutral_200": "#E5E7EB",
|
|
@@ -150,10 +92,11 @@
|
|
| 150 |
"neutral_600": "#4B5563",
|
| 151 |
"neutral_700": "#374151",
|
| 152 |
"neutral_800": "#1F2937",
|
|
|
|
| 153 |
"neutral_900": "#111827",
|
| 154 |
"neutral_950": "#0B0F19",
|
| 155 |
-
"
|
| 156 |
-
"
|
| 157 |
"panel_border_width": "1px",
|
| 158 |
"primary_50": "#EFF6FF",
|
| 159 |
"primary_100": "#DBEAFE",
|
|
@@ -166,59 +109,26 @@
|
|
| 166 |
"primary_800": "#1E40AF",
|
| 167 |
"primary_900": "#1E3A8A",
|
| 168 |
"primary_950": "#172554",
|
| 169 |
-
"
|
| 170 |
-
"
|
| 171 |
-
"
|
| 172 |
-
"
|
| 173 |
-
"
|
| 174 |
-
"
|
| 175 |
-
"
|
| 176 |
-
"radius_xl": "1px",
|
| 177 |
-
"radius_xs": "1px",
|
| 178 |
-
"radius_xxl": "1px",
|
| 179 |
-
"radius_xxs": "1px",
|
| 180 |
-
"secondary_50": "#F9FAFB",
|
| 181 |
-
"secondary_100": "#F3F4F6",
|
| 182 |
-
"secondary_200": "#E5E7EB",
|
| 183 |
-
"secondary_300": "#D1D5DB",
|
| 184 |
-
"secondary_400": "#9CA3AF",
|
| 185 |
-
"secondary_500": "#6B7280",
|
| 186 |
-
"secondary_600": "#4B5563",
|
| 187 |
-
"secondary_700": "#374151",
|
| 188 |
-
"secondary_800": "#1F2937",
|
| 189 |
-
"secondary_900": "#111827",
|
| 190 |
-
"secondary_950": "#0B0F19",
|
| 191 |
-
"section_header_text_size": "*text_md",
|
| 192 |
-
"section_header_text_weight": "600",
|
| 193 |
-
"shadow_drop": "0 2px 4px rgba(0, 0, 0, 0.1)",
|
| 194 |
-
"shadow_drop_lg": "0 4px 8px rgba(0, 0, 0, 0.15)",
|
| 195 |
-
"shadow_inset": "inset 0 2px 4px rgba(0, 0, 0, 0.05)",
|
| 196 |
-
"shadow_spread": "3px",
|
| 197 |
-
"slider_color": "#8B0000",
|
| 198 |
"spacing_lg": "12px",
|
| 199 |
"spacing_md": "8px",
|
| 200 |
"spacing_sm": "4px",
|
| 201 |
"spacing_xl": "16px",
|
| 202 |
"spacing_xs": "2px",
|
| 203 |
-
"
|
| 204 |
-
"
|
| 205 |
-
"
|
| 206 |
-
"table_border_color": "*neutral_700",
|
| 207 |
-
"table_even_background_fill": "*neutral_900",
|
| 208 |
-
"table_odd_background_fill": "*neutral_800",
|
| 209 |
"table_radius": "*radius_md",
|
| 210 |
-
"
|
| 211 |
-
"table_text_color": "*body_text_color",
|
| 212 |
"text_lg": "18px",
|
| 213 |
"text_md": "16px",
|
| 214 |
-
"text_sm": "14px"
|
| 215 |
-
"text_xl": "20px",
|
| 216 |
-
"text_xs": "12px",
|
| 217 |
-
"text_xxl": "24px",
|
| 218 |
-
"text_xxs": "10px"
|
| 219 |
},
|
| 220 |
-
"version": {"version": "0.0.
|
| 221 |
-
}
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
|
|
|
| 1 |
{
|
| 2 |
"theme": {
|
| 3 |
"_font": [
|
| 4 |
+
{"__gradio_font__": true, "name": "Inter", "class": "google", "weights": ["400", "500", "600"]},
|
| 5 |
+
{"__gradio_font__": true, "name": "ui-sans-serif", "class": "local", "weights": ["400", "600"]}
|
|
|
|
| 6 |
],
|
| 7 |
"_font_mono": [
|
| 8 |
{"__gradio_font__": true, "name": "JetBrains Mono", "class": "google", "weights": ["400", "600"]},
|
| 9 |
+
{"__gradio_font__": true, "name": "ui-monospace", "class": "local", "weights": ["400", "600"]}
|
|
|
|
| 10 |
],
|
| 11 |
"_stylesheets": [
|
| 12 |
"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap",
|
| 13 |
"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap"
|
| 14 |
],
|
| 15 |
+
"background_fill_primary_dark": "#0A0A0A", // Darker, near-black for better depth
|
| 16 |
+
"background_fill_secondary_dark": "*neutral_850", // Slightly lighter for secondary elements
|
| 17 |
+
"block_background_fill_dark": "*neutral_900", // Consistent with neutral palette
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
"block_border_color_dark": "*neutral_700",
|
| 19 |
"block_border_width": "1px",
|
| 20 |
+
"block_label_background_fill_dark": "*neutral_800", // Subtle contrast for labels
|
| 21 |
+
"block_label_text_color_dark": "*body_text_color",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
"block_label_text_size": "*text_sm",
|
| 23 |
"block_label_text_weight": "500",
|
| 24 |
+
"block_padding": "*spacing_md *spacing_lg",
|
| 25 |
"block_radius": "*radius_md",
|
| 26 |
+
"block_shadow": "0 2px 6px rgba(0, 0, 0, 0.2)", // Softer, more pronounced shadow
|
| 27 |
+
"block_title_text_color_dark": "#E0E0E0", // Slightly brighter for emphasis
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
"block_title_text_size": "*text_md",
|
| 29 |
"block_title_text_weight": "600",
|
| 30 |
+
"body_background_fill_dark": "*background_fill_primary_dark",
|
| 31 |
+
"body_text_color_dark": "#E6E6E6", // Brighter for better readability
|
| 32 |
+
"body_text_color_subdued_dark": "*neutral_400",
|
|
|
|
| 33 |
"body_text_size": "*text_md",
|
| 34 |
"body_text_weight": "400",
|
| 35 |
+
"border_color_accent_dark": "*primary_400",
|
| 36 |
+
"border_color_primary_dark": "*neutral_600",
|
|
|
|
| 37 |
"button_border_width": "1px",
|
| 38 |
+
"button_cancel_background_fill_dark": "*neutral_800",
|
| 39 |
+
"button_cancel_background_fill_hover_dark": "*neutral_700",
|
| 40 |
+
"button_cancel_border_color_dark": "*neutral_600",
|
| 41 |
+
"button_cancel_border_color_hover_dark": "*neutral_500",
|
| 42 |
+
"button_cancel_text_color_dark": "*body_text_color",
|
| 43 |
+
"button_primary_background_fill_dark": "linear-gradient(135deg, *primary_500, *primary_600)",
|
| 44 |
+
"button_primary_background_fill_hover_dark": "linear-gradient(135deg, *primary_400, *primary_500)",
|
| 45 |
+
"button_primary_border_color_dark": "*primary_600",
|
| 46 |
+
"button_primary_border_color_hover_dark": "*primary_400",
|
| 47 |
+
"button_primary_text_color_dark": "#FFFFFF",
|
| 48 |
+
"button_primary_shadow": "0 2px 4px rgba(0, 0, 0, 0.2)",
|
| 49 |
+
"button_primary_shadow_hover": "0 4px 8px rgba(0, 0, 0, 0.3)",
|
| 50 |
+
"button_secondary_background_fill_dark": "*neutral_800",
|
| 51 |
+
"button_secondary_background_fill_hover_dark": "*neutral_700",
|
| 52 |
+
"button_secondary_border_color_dark": "*neutral_600",
|
| 53 |
+
"button_secondary_border_color_hover_dark": "*neutral_500",
|
| 54 |
+
"button_secondary_text_color_dark": "*body_text_color",
|
| 55 |
+
"button_transition": "all 0.3s ease", // Slightly smoother transition
|
| 56 |
+
"checkbox_background_color_dark": "*neutral_800",
|
| 57 |
+
"checkbox_background_color_selected_dark": "*primary_500",
|
| 58 |
+
"checkbox_border_color_dark": "*neutral_600",
|
| 59 |
+
"checkbox_border_color_focus_dark": "*primary_400",
|
| 60 |
+
"checkbox_border_color_selected_dark": "*primary_500",
|
| 61 |
+
"checkbox_border_radius": "*radius_sm",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
"checkbox_border_width": "2px",
|
| 63 |
+
"code_background_fill_dark": "*neutral_900",
|
| 64 |
+
"color_accent": "#2563EB", // Slightly deeper blue for accent
|
| 65 |
+
"color_accent_soft": "#60A5FA",
|
| 66 |
+
"container_radius": "*radius_lg",
|
| 67 |
+
"error_background_fill_dark": "*neutral_900",
|
| 68 |
+
"error_border_color_dark": "#EF4444",
|
| 69 |
+
"error_icon_color_dark": "#EF4444",
|
| 70 |
+
"error_text_color_dark": "#EF4444",
|
| 71 |
+
"font": "'Inter', 'ui-sans-serif', 'system-ui', sans-serif", // Switched to Inter for better readability
|
| 72 |
+
"font_mono": "'JetBrains Mono', 'ui-monospace', monospace",
|
| 73 |
+
"input_background_fill_dark": "*neutral_850",
|
| 74 |
+
"input_background_fill_focus_dark": "*neutral_800",
|
| 75 |
+
"input_background_fill_hover_dark": "*neutral_700",
|
| 76 |
+
"input_border_color_dark": "*neutral_600",
|
| 77 |
+
"input_border_color_focus_dark": "*primary_400",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
"input_border_width": "1px",
|
| 79 |
"input_padding": "*spacing_md",
|
| 80 |
+
"input_placeholder_color_dark": "*neutral_500", // Slightly darker for clarity
|
| 81 |
"input_radius": "*radius_md",
|
| 82 |
+
"input_shadow_focus": "0 0 0 3px rgba(59, 130, 246, 0.4)", // More pronounced focus
|
| 83 |
+
"input_text_color_dark": "*body_text_color",
|
| 84 |
+
"link_text_color_dark": "*primary_400",
|
| 85 |
+
"link_text_color_hover_dark": "*primary_300",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
"neutral_50": "#F9FAFB",
|
| 87 |
"neutral_100": "#F3F4F6",
|
| 88 |
"neutral_200": "#E5E7EB",
|
|
|
|
| 92 |
"neutral_600": "#4B5563",
|
| 93 |
"neutral_700": "#374151",
|
| 94 |
"neutral_800": "#1F2937",
|
| 95 |
+
"neutral_850": "#171F2C", // New neutral tone for subtle contrast
|
| 96 |
"neutral_900": "#111827",
|
| 97 |
"neutral_950": "#0B0F19",
|
| 98 |
+
"panel_background_fill_dark": "*neutral_850",
|
| 99 |
+
"panel_border_color_dark": "*neutral_600",
|
| 100 |
"panel_border_width": "1px",
|
| 101 |
"primary_50": "#EFF6FF",
|
| 102 |
"primary_100": "#DBEAFE",
|
|
|
|
| 109 |
"primary_800": "#1E40AF",
|
| 110 |
"primary_900": "#1E3A8A",
|
| 111 |
"primary_950": "#172554",
|
| 112 |
+
"radius_lg": "8px", // Softer corners
|
| 113 |
+
"radius_md": "6px",
|
| 114 |
+
"radius_sm": "4px",
|
| 115 |
+
"radius_xs": "2px",
|
| 116 |
+
"shadow_drop": "0 2px 6px rgba(0, 0, 0, 0.2)",
|
| 117 |
+
"shadow_drop_lg": "0 4px 12px rgba(0, 0, 0, 0.25)",
|
| 118 |
+
"shadow_inset": "inset 0 2px 4px rgba(0, 0, 0, 0.1)",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
"spacing_lg": "12px",
|
| 120 |
"spacing_md": "8px",
|
| 121 |
"spacing_sm": "4px",
|
| 122 |
"spacing_xl": "16px",
|
| 123 |
"spacing_xs": "2px",
|
| 124 |
+
"table_border_color_dark": "*neutral_600",
|
| 125 |
+
"table_even_background_fill_dark": "*neutral_900",
|
| 126 |
+
"table_odd_background_fill_dark": "*neutral_850",
|
|
|
|
|
|
|
|
|
|
| 127 |
"table_radius": "*radius_md",
|
| 128 |
+
"table_text_color_dark": "*body_text_color",
|
|
|
|
| 129 |
"text_lg": "18px",
|
| 130 |
"text_md": "16px",
|
| 131 |
+
"text_sm": "14px"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
},
|
| 133 |
+
"version": {"version": "0.0.2"}
|
| 134 |
+
}
|
|
|
|
|
|
|
|
|