# gradioStudy **Repository Path**: sygaowork/gradio-study ## Basic Information - **Project Name**: gradioStudy - **Description**: gradio-study - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-10-09 - **Last Updated**: 2025-10-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README with gr.Blocks(theme=gr.themes.Default(primary_hue=gr.themes.colors.red, secondary_hue=gr.themes.colors.pink)) as demo: — slate — gray — zinc — neutral — stone — red — orange — amber — yellow — lime — green — emerald — teal — cyan — sky — blue — indigo — violet — purple — fuchsia — pink — rose with gr.Blocks(theme=gr.themes.Default(spacing_size="sm", radius_size="none", text_size="")) as demo: with gr.Blocks(theme=gr.themes.Default(spacing_size=gr.themes.sizes.spacing_sm, radius_size=gr.themes.sizes.radius_none)) as demo: — radius_none — radius_sm — radius_md — radius_lg — spacing_sm — spacing_md — spacing_lg — text_sm — text_md — text_lg with gr.Blocks(theme=gr.themes.Default(font=[gr.themes.GoogleFont("Inconsolata"), "Arial", "sans-serif"])) as demo: theme = gr.themes.Default(primary_hue="blue").set( loader_color="#FF0000", slider_color="#FF0000", ) my_theme = gr.Theme.from_hub("gradio/seafoam") with gr.Blocks(theme=my_theme) as demo: .... You can also pass the theme string directly to Blocks or Interface (gr.Blocks(theme="gradio/seafoam")) You can pin your app to an upstream theme version by using semantic versioning expressions. For example, the following would ensure the theme we load from the seafoam repo was between versions 0.0.1 and 0.1.0: with gr.Blocks(theme="gradio/seafoam@>=0.0.1,<0.1.0") as demo: