Polish errors

This commit is contained in:
henryruhs 2024-10-18 16:11:30 +02:00
parent eba4297573
commit f17dba6eda
2 changed files with 13 additions and 0 deletions

View File

@ -45,6 +45,7 @@
:root:root:root:root .slider_input_container > span,
:root:root:root:root .feather-upload,
:root:root:root:root .toast-wrap,
:root:root:root:root footer
{
display: none;
@ -75,3 +76,11 @@
top: 0;
z-index: 100;
}
:root:root:root:root .block .error
{
border: 0.125rem solid;
padding: 0.375rem 0.75rem;
font-size: 0.75rem;
text-transform: uppercase;
}

View File

@ -169,6 +169,10 @@ def get_theme() -> gradio.Theme:
checkbox_label_background_fill_selected = '*primary_500',
checkbox_label_background_fill_selected_dark = '*primary_600',
checkbox_label_text_color_selected = 'white',
error_background_fill = 'transparent',
error_background_fill_dark = 'transparent',
error_text_color = '*primary_500',
error_text_color_dark = '*primary_600',
input_background_fill = '*neutral_50',
input_background_fill_dark = '*neutral_800',
shadow_drop = 'none',