Minimal / themes /theme_schema@0.0.1.json
Taithrah's picture
Update themes/theme_schema@0.0.1.json
3b77fb0
raw
history blame
16.8 kB
{
"theme": {
"_font": [
{
"__gradio_font__": true,
"name": "Source Sans Pro",
"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": "Ubuntu 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=Source+Sans+Pro:wght@400;600&display=swap",
"https://fonts.googleapis.com/css2?family=Ubuntu+Mono:wght@400;600&display=swap"
],
"background_fill_primary": "*neutral_950",
"background_fill_primary_dark": "*neutral_950",
"background_fill_secondary": "*neutral_900",
"background_fill_secondary_dark": "*neutral_900",
"block_background_fill": "*neutral_800",
"block_background_fill_dark": "*neutral_800",
"block_border_color": "*border_color_primary",
"block_border_color_dark": "*border_color_primary",
"block_border_width": "0px",
"block_border_width_dark": "0px",
"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_600",
"block_label_background_fill_dark": "*primary_600",
"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": "*spacing_md",
"block_label_padding": "*spacing_sm *spacing_md",
"block_label_radius": "*radius_md",
"block_label_right_radius": "0 calc(*radius_lg - 1px) 0 calc(*radius_lg - 1px)",
"block_label_shadow": "*block_shadow",
"block_label_text_color": "*white",
"block_label_text_color_dark": "*white",
"block_label_text_size": "*text_md",
"block_label_text_weight": "600",
"block_padding": "*spacing_xl calc(*spacing_xl + 2px)",
"block_radius": "*radius_lg",
"block_shadow": "none",
"block_shadow_dark": "none",
"block_title_background_fill": "*block_label_background_fill",
"block_title_background_fill_dark": "*block_label_background_fill",
"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": "*block_label_padding",
"block_title_radius": "*block_label_radius",
"block_title_text_color": "*white",
"block_title_text_color_dark": "*white",
"block_title_text_size": "*text_md",
"block_title_text_weight": "600",
"body_background_fill": "*neutral_900",
"body_background_fill_dark": "*neutral_900",
"body_text_color": "*neutral_100",
"body_text_color_dark": "*neutral_100",
"body_text_color_subdued": "*neutral_300",
"body_text_color_subdued_dark": "*neutral_300",
"body_text_size": "*text_md",
"body_text_weight": "400",
"border_color_accent": "*neutral_600",
"border_color_accent_dark": "*neutral_600",
"border_color_primary": "*neutral_700",
"border_color_primary_dark": "*neutral_700",
"border_color_accent_subdued": "*border_color_accent",
"border_color_accent_subdued_dark": "*border_color_accent",
"button_border_width": "*input_border_width",
"button_border_width_dark": "*input_border_width",
"button_cancel_background_fill": "*button_secondary_background_fill",
"button_cancel_background_fill_dark": "*button_secondary_background_fill",
"button_cancel_background_fill_hover": "*button_secondary_background_fill_hover",
"button_cancel_background_fill_hover_dark": "*button_secondary_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_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": "*primary_700",
"button_primary_background_fill_dark": "*primary_700",
"button_primary_background_fill_hover": "*primary_500",
"button_primary_background_fill_hover_dark": "*primary_500",
"button_primary_border_color": "*primary_600",
"button_primary_border_color_dark": "*primary_600",
"button_primary_border_color_hover": "*button_primary_border_color",
"button_primary_border_color_hover_dark": "*button_primary_border_color",
"button_primary_text_color": "white",
"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": "*neutral_600",
"button_secondary_background_fill_dark": "*neutral_600",
"button_secondary_background_fill_hover": "*primary_500",
"button_secondary_background_fill_hover_dark": "*primary_500",
"button_secondary_border_color": "*neutral_600",
"button_secondary_border_color_dark": "*neutral_600",
"button_secondary_border_color_hover": "*button_secondary_border_color",
"button_secondary_border_color_hover_dark": "*button_secondary_border_color",
"button_secondary_text_color": "white",
"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": "*shadow_drop_lg",
"button_shadow_active": "*shadow_inset",
"button_shadow_hover": "*shadow_drop_lg",
"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",
"chatbot_code_background_color": "*neutral_800",
"chatbot_code_background_color_dark": "*neutral_800",
"checkbox_background_color": "*neutral_800",
"checkbox_background_color_dark": "*neutral_800",
"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": "*primary_700",
"checkbox_background_color_selected_dark": "*primary_700",
"checkbox_border_color": "*neutral_600",
"checkbox_border_color_dark": "*neutral_600",
"checkbox_border_color_focus": "*primary_600",
"checkbox_border_color_focus_dark": "*primary_600",
"checkbox_border_color_hover": "*neutral_600",
"checkbox_border_color_hover_dark": "*neutral_600",
"checkbox_border_color_selected": "*primary_700",
"checkbox_border_color_selected_dark": "*primary_700",
"checkbox_border_radius": "*radius_sm",
"checkbox_border_width": "1px",
"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": "*primary_600",
"checkbox_label_background_fill_selected_dark": "*primary_600",
"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": "*shadow_drop_lg",
"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": "none",
"color_accent": "*neutral_700",
"color_accent_soft": "*neutral_700",
"color_accent_soft_dark": "*neutral_700",
"container_radius": "*radius_lg",
"embed_radius": "*radius_lg",
"error_background_fill": "*background_fill_primary",
"error_background_fill_dark": "*background_fill_primary",
"error_border_color": "*border_color_primary",
"error_border_color_dark": "*border_color_primary",
"error_border_width": "1px",
"error_border_width_dark": "1px",
"error_icon_color": "#ef4444",
"error_icon_color_dark": "#ef4444",
"error_text_color": "#ef4444",
"error_text_color_dark": "#ef4444",
"font": "'Source Sans Pro', 'ui-sans-serif', 'system-ui', sans-serif",
"font_mono": "'Ubuntu Mono', 'ui-monospace', 'Consolas', monospace",
"form_gap_width": "0px",
"input_background_fill": "*neutral_800",
"input_background_fill_dark": "*neutral_800",
"input_background_fill_focus": "*secondary_600",
"input_background_fill_focus_dark": "*secondary_600",
"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": "*neutral_700",
"input_border_color_focus_dark": "*neutral_700",
"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": "*neutral_500",
"input_placeholder_color_dark": "*neutral_500",
"input_radius": "*radius_lg",
"input_shadow": "*shadow_drop",
"input_shadow_dark": "*shadow_drop",
"input_shadow_focus": "*shadow_drop_lg",
"input_shadow_focus_dark": "*shadow_drop_lg",
"input_text_size": "*text_md",
"input_text_weight": "400",
"layout_gap": "*spacing_xxl",
"link_text_color": "*secondary_500",
"link_text_color_active": "*secondary_500",
"link_text_color_active_dark": "*secondary_500",
"link_text_color_dark": "*secondary_500",
"link_text_color_hover": "*secondary_400",
"link_text_color_hover_dark": "*secondary_400",
"link_text_color_visited": "*secondary_600",
"link_text_color_visited_dark": "*secondary_600",
"loader_color": "*color_accent",
"loader_color_dark": "*color_accent",
"name": "base",
"neutral_100": "#f5f5f5",
"neutral_200": "#e5e5e5",
"neutral_300": "#d4d4d4",
"neutral_400": "#a3a3a3",
"neutral_50": "#fafafa",
"neutral_500": "#737373",
"neutral_600": "#525252",
"neutral_700": "#404040",
"neutral_800": "#262626",
"neutral_900": "#171717",
"neutral_950": "#0f0f0f",
"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": "#dbeafe",
"primary_200": "#bfdbfe",
"primary_300": "#93c5fd",
"primary_400": "#60a5fa",
"primary_50": "#eff6ff",
"primary_500": "#3b82f6",
"primary_600": "#621dd8",
"primary_700": "#1d4ed8",
"primary_800": "#1e40af",
"primary_900": "#1e3a8a",
"primary_950": "#1d3660",
"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": "6px",
"radius_md": "4px",
"radius_sm": "2px",
"radius_xl": "8px",
"radius_xs": "1px",
"radius_xxl": "12px",
"radius_xxs": "1px",
"secondary_100": "#d1fae5",
"secondary_200": "#a7f3d0",
"secondary_300": "#6ee7b7",
"secondary_400": "#34d399",
"secondary_50": "#ecfdf5",
"secondary_500": "#10b981",
"secondary_600": "#059669",
"secondary_700": "#047857",
"secondary_800": "#065f46",
"secondary_900": "#064e3b",
"secondary_950": "#054436",
"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_600",
"slider_color_dark": "*primary_600",
"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_500",
"stat_background_fill_dark": "*primary_500",
"table_border_color": "*neutral_700",
"table_border_color_dark": "*neutral_700",
"table_even_background_fill": "*neutral_950",
"table_even_background_fill_dark": "*neutral_950",
"table_odd_background_fill": "*neutral_900",
"table_odd_background_fill_dark": "*neutral_900",
"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.1"
}