Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -551,12 +551,29 @@ label, .tab-nav button {
|
|
| 551 |
p, .prose, .markdown-body { color: #4F8B91 !important; }
|
| 552 |
|
| 553 |
/* Cards / surfaces β warm near-white, popping against the butter page background */
|
| 554 |
-
.gr-panel, .gr-box, .gr-form, .tabitem, .block
|
|
|
|
| 555 |
background: #FFFDF6 !important;
|
| 556 |
border: 1px solid #F2CE8A !important;
|
| 557 |
border-radius: 12px !important;
|
| 558 |
}
|
| 559 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 560 |
/* Buttons β Tidepool Sorbet coral primary */
|
| 561 |
.gr-button, button.primary {
|
| 562 |
background: #FF7A7A !important;
|
|
@@ -600,6 +617,36 @@ with gr.Blocks(title="π Marine Soundscape Analyzer", css=CSS,
|
|
| 600 |
neutral_hue="gray",
|
| 601 |
font=gr.themes.GoogleFont("Nunito Sans"),
|
| 602 |
font_mono=gr.themes.GoogleFont("JetBrains Mono"),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 603 |
)) as demo:
|
| 604 |
|
| 605 |
gr.Markdown("""
|
|
|
|
| 551 |
p, .prose, .markdown-body { color: #4F8B91 !important; }
|
| 552 |
|
| 553 |
/* Cards / surfaces β warm near-white, popping against the butter page background */
|
| 554 |
+
.gr-panel, .gr-box, .gr-form, .tabitem, .block,
|
| 555 |
+
div[class*="svelte"].block, .form, .wrap.svelte-1ipelgc {
|
| 556 |
background: #FFFDF6 !important;
|
| 557 |
border: 1px solid #F2CE8A !important;
|
| 558 |
border-radius: 12px !important;
|
| 559 |
}
|
| 560 |
|
| 561 |
+
/* Force every input / upload / textbox surface off pure white */
|
| 562 |
+
input, textarea, select,
|
| 563 |
+
.gr-input, .gr-box textarea, .gr-box input,
|
| 564 |
+
.upload-box, .upload-container, [data-testid="audio"] {
|
| 565 |
+
background: #FFFDF6 !important;
|
| 566 |
+
color: #1F6F78 !important;
|
| 567 |
+
border-color: #F2CE8A !important;
|
| 568 |
+
}
|
| 569 |
+
|
| 570 |
+
/* Markdown / table content inside panels */
|
| 571 |
+
table, th, td { color: #1F6F78 !important; border-color: #F2CE8A !important; }
|
| 572 |
+
th { background: #FFA36C !important; color: #1F6F78 !important; }
|
| 573 |
+
tr:nth-child(even) td { background: #FFF7DE !important; }
|
| 574 |
+
blockquote { background: #FFE9A8 !important; border-left: 4px solid #FF7A7A !important; color: #1F6F78 !important; }
|
| 575 |
+
code { background: #FFE9A8 !important; color: #1F6F78 !important; }
|
| 576 |
+
|
| 577 |
/* Buttons β Tidepool Sorbet coral primary */
|
| 578 |
.gr-button, button.primary {
|
| 579 |
background: #FF7A7A !important;
|
|
|
|
| 617 |
neutral_hue="gray",
|
| 618 |
font=gr.themes.GoogleFont("Nunito Sans"),
|
| 619 |
font_mono=gr.themes.GoogleFont("JetBrains Mono"),
|
| 620 |
+
).set(
|
| 621 |
+
# Drive every component's box color through real theme tokens
|
| 622 |
+
# (more reliable than CSS class guessing) so nothing renders
|
| 623 |
+
# on plain white β Tidepool Sorbet palette throughout.
|
| 624 |
+
body_background_fill="#FFF1B6",
|
| 625 |
+
body_background_fill_dark="#FFF1B6",
|
| 626 |
+
background_fill_primary="#FFFDF6",
|
| 627 |
+
background_fill_primary_dark="#FFFDF6",
|
| 628 |
+
background_fill_secondary="#FFE9A8",
|
| 629 |
+
background_fill_secondary_dark="#FFE9A8",
|
| 630 |
+
border_color_primary="#F2CE8A",
|
| 631 |
+
border_color_primary_dark="#F2CE8A",
|
| 632 |
+
block_background_fill="#FFFDF6",
|
| 633 |
+
block_background_fill_dark="#FFFDF6",
|
| 634 |
+
block_border_color="#F2CE8A",
|
| 635 |
+
block_border_color_dark="#F2CE8A",
|
| 636 |
+
block_label_background_fill="#FFA36C",
|
| 637 |
+
block_label_text_color="#1F6F78",
|
| 638 |
+
block_title_text_color="#1F6F78",
|
| 639 |
+
body_text_color="#1F6F78",
|
| 640 |
+
body_text_color_dark="#1F6F78",
|
| 641 |
+
body_text_color_subdued="#4F8B91",
|
| 642 |
+
input_background_fill="#FFFDF6",
|
| 643 |
+
input_background_fill_dark="#FFFDF6",
|
| 644 |
+
input_border_color="#F2CE8A",
|
| 645 |
+
button_primary_background_fill="#FF7A7A",
|
| 646 |
+
button_primary_background_fill_hover="#E85F5F",
|
| 647 |
+
button_primary_text_color="#FFFFFF",
|
| 648 |
+
button_secondary_background_fill="#7AE7C7",
|
| 649 |
+
button_secondary_text_color="#1F6F78",
|
| 650 |
)) as demo:
|
| 651 |
|
| 652 |
gr.Markdown("""
|