fix: pin dropdown label backgrounds light (no dark FMS Test header)
#6
by BladeSzaSza - opened
- README.md +1 -2
- formscout/ui/theme.py +8 -3
README.md
CHANGED
|
@@ -8,7 +8,6 @@ app_file: app.py
|
|
| 8 |
pinned: false
|
| 9 |
license: apache-2.0
|
| 10 |
short_description: FMS video scoring — movement screen aid
|
| 11 |
-
sdk_version: 6.18.0
|
| 12 |
---
|
| 13 |
|
| 14 |
# FormScout
|
|
@@ -116,4 +115,4 @@ See [CLAUDE.md](CLAUDE.md) for full architecture and invariants.
|
|
| 116 |
|
| 117 |
## License
|
| 118 |
|
| 119 |
-
Apache-2.0. Built for the Build Small Hackathon (Backyard AI track).
|
|
|
|
| 8 |
pinned: false
|
| 9 |
license: apache-2.0
|
| 10 |
short_description: FMS video scoring — movement screen aid
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# FormScout
|
|
|
|
| 115 |
|
| 116 |
## License
|
| 117 |
|
| 118 |
+
Apache-2.0. Built for the Build Small Hackathon (Backyard AI track).
|
formscout/ui/theme.py
CHANGED
|
@@ -59,15 +59,20 @@ def formscout_theme() -> gr.Theme:
|
|
| 59 |
button_secondary_background_fill="rgba(156, 188, 173, 0.55)",
|
| 60 |
button_secondary_text_color=INK,
|
| 61 |
# Inputs
|
| 62 |
-
input_background_fill="rgba(255, 255, 255, 0.
|
| 63 |
-
input_background_fill_dark="rgba(255, 255, 255, 0.
|
|
|
|
| 64 |
input_border_color="rgba(43, 138, 138, 0.30)",
|
| 65 |
input_border_color_focus="rgba(43, 138, 138, 0.75)",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
# Text
|
| 67 |
body_text_color=INK,
|
| 68 |
body_text_color_dark=INK,
|
| 69 |
block_title_text_color=TEAL_DEEP,
|
| 70 |
-
block_label_text_color=INK_MUTED,
|
| 71 |
# Spacing
|
| 72 |
block_padding="16px",
|
| 73 |
layout_gap="16px",
|
|
|
|
| 59 |
button_secondary_background_fill="rgba(156, 188, 173, 0.55)",
|
| 60 |
button_secondary_text_color=INK,
|
| 61 |
# Inputs
|
| 62 |
+
input_background_fill="rgba(255, 255, 255, 0.92)",
|
| 63 |
+
input_background_fill_dark="rgba(255, 255, 255, 0.92)",
|
| 64 |
+
input_background_fill_focus="rgba(255, 255, 255, 1.0)",
|
| 65 |
input_border_color="rgba(43, 138, 138, 0.30)",
|
| 66 |
input_border_color_focus="rgba(43, 138, 138, 0.75)",
|
| 67 |
+
# Labels — pin light in both modes so no dark dropdown header appears
|
| 68 |
+
block_label_background_fill="rgba(188, 211, 200, 0.55)",
|
| 69 |
+
block_label_background_fill_dark="rgba(188, 211, 200, 0.55)",
|
| 70 |
+
block_label_text_color=INK,
|
| 71 |
+
block_label_text_color_dark=INK,
|
| 72 |
# Text
|
| 73 |
body_text_color=INK,
|
| 74 |
body_text_color_dark=INK,
|
| 75 |
block_title_text_color=TEAL_DEEP,
|
|
|
|
| 76 |
# Spacing
|
| 77 |
block_padding="16px",
|
| 78 |
layout_gap="16px",
|