Freky / themes /theme_schema@0.0.3.json
Bruhn's picture
Update themes/theme_schema@0.0.3.json
908e6b8 verified
{
"theme": {
"_font": [
{
"__gradio_font__": true,
"name": "DM Sans",
"class": "google"
},
{
"__gradio_font__": true,
"name": "ui-sans-serif",
"class": "font"
},
{
"__gradio_font__": true,
"name": "system-ui",
"class": "font"
},
{
"__gradio_font__": true,
"name": "sans-serif",
"class": "font"
}
],
"_font_mono": [
{
"__gradio_font__": true,
"name": "JetBrains Mono",
"class": "google"
},
{
"__gradio_font__": true,
"name": "ui-monospace",
"class": "font"
},
{
"__gradio_font__": true,
"name": "Consolas",
"class": "font"
},
{
"__gradio_font__": true,
"name": "monospace",
"class": "font"
}
],
"_stylesheets": [
"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600&display=swap",
"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap"
],
"accordion_text_color": "*body_text_color",
"accordion_text_color_dark": "*body_text_color",
"background_fill_primary": "white",
"background_fill_primary_dark": "#11111b",
"background_fill_secondary": "#f9fafb",
"background_fill_secondary_dark": "#1e1e2e",
"block_background_fill": "*background_fill_primary",
"block_background_fill_dark": "#1f2937",
"block_border_color": "*border_color_primary",
"block_border_color_dark": "*border_color_primary",
"block_border_width": "1px",
"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": "*background_fill_primary",
"block_label_background_fill_dark": "*background_fill_secondary",
"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": "0",
"block_label_padding": "*spacing_sm *spacing_lg",
"block_label_radius": "calc(*radius_lg - 1px) 0 calc(*radius_lg - 1px) 0",
"block_label_right_radius": "0 calc(*radius_lg - 1px) 0 calc(*radius_lg - 1px)",
"block_label_shadow": "*block_shadow",
"block_label_text_color": "#6b7280",
"block_label_text_color_dark": "#bac2de",
"block_label_text_size": "*text_sm",
"block_label_text_weight": "400",
"block_padding": "*spacing_xl calc(*spacing_xl + 2px)",
"block_radius": "*radius_lg",
"block_shadow": "none",
"block_shadow_dark": "none",
"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": "#6b7280",
"block_title_text_color_dark": "#bac2de",
"block_title_text_size": "*text_md",
"block_title_text_weight": "400",
"body_background_fill": "*background_fill_primary",
"body_background_fill_dark": "*background_fill_primary",
"body_text_color": "#1f2937",
"body_text_color_dark": "#cdd6f4",
"body_text_color_subdued": "#9ca3af",
"body_text_color_subdued_dark": "#9ca3af",
"body_text_size": "*text_md",
"body_text_weight": "400",
"border_color_accent": "#86efac",
"border_color_accent_dark": "#4b5563",
"border_color_accent_subdued": "*border_color_accent",
"border_color_accent_subdued_dark": "*border_color_accent",
"border_color_primary": "#e5e7eb",
"border_color_primary_dark": "#374151",
"button_border_width": "*input_border_width",
"button_border_width_dark": "*input_border_width",
"button_cancel_background_fill": "#ff0404",
"button_cancel_background_fill_dark": "#b70000",
"button_cancel_background_fill_hover": "#b70000",
"button_cancel_background_fill_hover_dark": "#ff0404",
"button_cancel_border_color": "*button_secondary_border_color",
"button_cancel_border_color_dark": "*button_secondary_border_color",
"button_cancel_border_color_hover": "*button_cancel_border_color",
"button_cancel_border_color_hover_dark": "*button_cancel_border_color",
"button_cancel_text_color": "*button_secondary_text_color",
"button_cancel_text_color_dark": "*button_secondary_text_color",
"button_cancel_text_color_hover": "*button_cancel_text_color",
"button_cancel_text_color_hover_dark": "*button_cancel_text_color",
"button_large_padding": "*spacing_lg calc(2 * *spacing_lg)",
"button_large_radius": "*radius_lg",
"button_large_text_size": "*text_lg",
"button_large_text_weight": "600",
"button_primary_background_fill": "#bbf7d0",
"button_primary_background_fill_dark": "#15803d",
"button_primary_background_fill_hover": "*button_primary_background_fill",
"button_primary_background_fill_hover_dark": "*button_primary_background_fill",
"button_primary_border_color": "#bbf7d0",
"button_primary_border_color_dark": "#16a34a",
"button_primary_border_color_hover": "*button_primary_border_color",
"button_primary_border_color_hover_dark": "*button_primary_border_color",
"button_primary_text_color": "#16a34a",
"button_primary_text_color_dark": "white",
"button_primary_text_color_hover": "*button_primary_text_color",
"button_primary_text_color_hover_dark": "*button_primary_text_color",
"button_secondary_background_fill": "#e5e7eb",
"button_secondary_background_fill_dark": "#4b5563",
"button_secondary_background_fill_hover": "*button_secondary_background_fill",
"button_secondary_background_fill_hover_dark": "*button_secondary_background_fill",
"button_secondary_border_color": "#e5e7eb",
"button_secondary_border_color_dark": "#4b5563",
"button_secondary_border_color_hover": "*button_secondary_border_color",
"button_secondary_border_color_hover_dark": "*button_secondary_border_color",
"button_secondary_text_color": "#374151",
"button_secondary_text_color_dark": "white",
"button_secondary_text_color_hover": "*button_secondary_text_color",
"button_secondary_text_color_hover_dark": "*button_secondary_text_color",
"button_shadow": "none",
"button_shadow_active": "none",
"button_shadow_hover": "none",
"button_small_padding": "*spacing_sm calc(2 * *spacing_sm)",
"button_small_radius": "*radius_lg",
"button_small_text_size": "*text_md",
"button_small_text_weight": "400",
"button_transition": "background-color 0.2s ease",
"checkbox_background_color": "*background_fill_primary",
"checkbox_background_color_dark": "#1f2937",
"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": "#2563eb",
"checkbox_background_color_selected_dark": "#2563eb",
"checkbox_border_color": "#d1d5db",
"checkbox_border_color_dark": "#374151",
"checkbox_border_color_focus": "#3b82f6",
"checkbox_border_color_focus_dark": "#3b82f6",
"checkbox_border_color_hover": "#d1d5db",
"checkbox_border_color_hover_dark": "#4b5563",
"checkbox_border_color_selected": "#2563eb",
"checkbox_border_color_selected_dark": "#2563eb",
"checkbox_border_radius": "*radius_sm",
"checkbox_border_width": "*input_border_width",
"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_width": "*input_border_width",
"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": "#f3f4f6",
"code_background_fill_dark": "#1f2937",
"color_accent": "#22c55e",
"color_accent_soft": "#f0fdf4",
"color_accent_soft_dark": "#374151",
"container_radius": "*radius_lg",
"embed_radius": "*radius_lg",
"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": "'DM Sans', 'ui-sans-serif', 'system-ui', sans-serif",
"font_mono": "'JetBrains Mono', 'ui-monospace', 'Consolas', monospace",
"form_gap_width": "0px",
"input_background_fill": "#f3f4f6",
"input_background_fill_dark": "#374151",
"input_background_fill_focus": "#3b82f6",
"input_background_fill_focus_dark": "#2563eb",
"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": "#93c5fd",
"input_border_color_focus_dark": "#374151",
"input_border_color_hover": "*input_border_color",
"input_border_color_hover_dark": "*input_border_color",
"input_border_width": "0px",
"input_border_width_dark": "0px",
"input_padding": "*spacing_xl",
"input_placeholder_color": "#9ca3af",
"input_placeholder_color_dark": "#6b7280",
"input_radius": "*radius_lg",
"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": "#2563eb",
"link_text_color_active": "#2563eb",
"link_text_color_active_dark": "#3b82f6",
"link_text_color_dark": "#3b82f6",
"link_text_color_hover": "#1d4ed8",
"link_text_color_hover_dark": "#60a5fa",
"link_text_color_visited": "#3b82f6",
"link_text_color_visited_dark": "#2563eb",
"loader_color": "*color_accent",
"loader_color_dark": "*color_accent",
"name": "base",
"neutral_100": "#f5e0dc",
"neutral_200": "#f2cdcd",
"neutral_300": "#f5c2e7",
"neutral_400": "#cba6f7",
"neutral_500": "#f38ba8",
"neutral_600": "#eba0ac",
"neutral_700": "#fab387",
"neutral_800": "#f9e2af",
"neutral_900": "#a6e3a1",
"neutral_950": "#94e2d5",
"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": "0",
"panel_border_width_dark": "0",
"primary_100": "#585b70",
"primary_200": "#45475a",
"primary_300": "#313244",
"primary_400": "#1e1e2e",
"primary_500": "#181825",
"primary_600": "#11111b",
"primary_700": "#010409",
"primary_800": "#010409",
"primary_900": "#010409",
"primary_950": "#010409",
"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": "8px",
"radius_md": "6px",
"radius_sm": "4px",
"radius_xl": "12px",
"radius_xs": "2px",
"radius_xxl": "22px",
"radius_xxs": "1px",
"secondary_100": "#89dceb",
"secondary_200": "#74c7ec",
"secondary_300": "#b4befe",
"secondary_400": "#89b4fa",
"secondary_500": "#cdd6f4",
"secondary_600": "#bac2de",
"secondary_700": "#a6adc8",
"secondary_800": "#9399b2",
"secondary_900": "#7f849c",
"secondary_950": "#6c7086",
"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": "#22c55e",
"slider_color_dark": "#06cf50",
"spacing_lg": "8px",
"spacing_md": "6px",
"spacing_sm": "4px",
"spacing_xl": "10px",
"spacing_xs": "2px",
"spacing_xxl": "16px",
"spacing_xxs": "1px",
"stat_background_fill": "#86efac",
"stat_background_fill_dark": "#22c55e",
"table_border_color": "#d1d5db",
"table_border_color_dark": "#374151",
"table_even_background_fill": "white",
"table_even_background_fill_dark": "#0b0f19",
"table_odd_background_fill": "#f9fafb",
"table_odd_background_fill_dark": "#111827",
"table_radius": "*radius_lg",
"table_row_focus": "*color_accent_soft",
"table_row_focus_dark": "*color_accent_soft",
"text_lg": "16px",
"text_md": "14px",
"text_sm": "12px",
"text_xl": "22px",
"text_xs": "10px",
"text_xxl": "26px",
"text_xxs": "9px"
},
"version": "0.0.3"
}