Spaces:
Running
Running
Theme dark mode: keep Montfort palette in dark mode (deep blue surface, turquoise CTAs)
Browse files
app.py
CHANGED
|
@@ -300,11 +300,23 @@ theme = gr.themes.Soft(
|
|
| 300 |
neutral_hue=gr.themes.colors.stone,
|
| 301 |
font=[gr.themes.GoogleFont("Inter"), "system-ui", "sans-serif"],
|
| 302 |
).set(
|
|
|
|
| 303 |
body_background_fill="#f1ede5",
|
| 304 |
block_background_fill="white",
|
|
|
|
| 305 |
button_primary_background_fill="#00729a",
|
| 306 |
button_primary_background_fill_hover="#005f81",
|
| 307 |
button_primary_text_color="white",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 308 |
)
|
| 309 |
|
| 310 |
|
|
|
|
| 300 |
neutral_hue=gr.themes.colors.stone,
|
| 301 |
font=[gr.themes.GoogleFont("Inter"), "system-ui", "sans-serif"],
|
| 302 |
).set(
|
| 303 |
+
# Light mode (Montfort cream surface, white panels)
|
| 304 |
body_background_fill="#f1ede5",
|
| 305 |
block_background_fill="white",
|
| 306 |
+
block_border_color="#dee2e6",
|
| 307 |
button_primary_background_fill="#00729a",
|
| 308 |
button_primary_background_fill_hover="#005f81",
|
| 309 |
button_primary_text_color="white",
|
| 310 |
+
# Dark mode (keep the Montfort identity — deep blue surface, lighter blue panels)
|
| 311 |
+
body_background_fill_dark="#002836",
|
| 312 |
+
block_background_fill_dark="#003a4f",
|
| 313 |
+
block_border_color_dark="#005f81",
|
| 314 |
+
button_primary_background_fill_dark="#47c9cd",
|
| 315 |
+
button_primary_background_fill_hover_dark="#23b6ba",
|
| 316 |
+
button_primary_text_color_dark="#001a25",
|
| 317 |
+
body_text_color_dark="#eef7fa",
|
| 318 |
+
block_label_text_color_dark="#c6eafa",
|
| 319 |
+
block_title_text_color_dark="#eef7fa",
|
| 320 |
)
|
| 321 |
|
| 322 |
|