Update app.py
Browse files
app.py
CHANGED
@@ -441,12 +441,24 @@ def process_text_with_members(text, selected_members):
|
|
441 |
|
442 |
# Create Gradio interface
|
443 |
custom_theme = gr.themes.Soft(
|
444 |
-
primary_hue="
|
445 |
-
secondary_hue="
|
446 |
-
neutral_hue="
|
447 |
-
|
|
|
448 |
)
|
449 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
450 |
with gr.Blocks(
|
451 |
title="TaskWhisper",
|
452 |
theme=custom_theme,
|
@@ -570,7 +582,7 @@ with gr.Blocks(
|
|
570 |
|
571 |
/* Style the selected options in dropdown */
|
572 |
.selected-options {
|
573 |
-
color: #
|
574 |
background: white !important;
|
575 |
padding: 4px 8px !important;
|
576 |
border-radius: 4px !important;
|
|
|
441 |
|
442 |
# Create Gradio interface
|
443 |
custom_theme = gr.themes.Soft(
|
444 |
+
primary_hue="teal",
|
445 |
+
secondary_hue="blue",
|
446 |
+
neutral_hue="cyan",
|
447 |
+
font=("Inter", "ui-sans-serif", "system-ui", "sans-serif"),
|
448 |
+
font_mono=("IBM Plex Mono", "ui-monospace", "Consolas", "monospace"),
|
449 |
)
|
450 |
|
451 |
+
# Update theme colors with lighter shades
|
452 |
+
custom_theme.background_fill_primary = "#ffffff"
|
453 |
+
custom_theme.background_fill_secondary = "#f0fdfa"
|
454 |
+
custom_theme.border_color_primary = "#99f6e4"
|
455 |
+
custom_theme.button_primary_background_fill = "#14b8a6"
|
456 |
+
custom_theme.button_primary_background_fill_hover = "#0d9488"
|
457 |
+
custom_theme.button_primary_text_color = "white"
|
458 |
+
custom_theme.block_label_text_color = "#0f766e"
|
459 |
+
custom_theme.block_title_text_color = "#0f766e"
|
460 |
+
custom_theme.body_text_color = "#134e4a"
|
461 |
+
|
462 |
with gr.Blocks(
|
463 |
title="TaskWhisper",
|
464 |
theme=custom_theme,
|
|
|
582 |
|
583 |
/* Style the selected options in dropdown */
|
584 |
.selected-options {
|
585 |
+
color: #000000 !important;
|
586 |
background: white !important;
|
587 |
padding: 4px 8px !important;
|
588 |
border-radius: 4px !important;
|