Fix font: add sans-serif fallback chain for Inter
Browse filesCo-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
app.py
CHANGED
|
@@ -289,7 +289,8 @@ theme = gr.themes.Base(
|
|
| 289 |
primary_hue=gr.themes.colors.amber,
|
| 290 |
secondary_hue=gr.themes.colors.stone,
|
| 291 |
neutral_hue=gr.themes.colors.stone,
|
| 292 |
-
font=gr.themes.GoogleFont("Inter"),
|
|
|
|
| 293 |
).set(
|
| 294 |
body_background_fill="#f5f3ee",
|
| 295 |
block_background_fill="#ffffff",
|
|
|
|
| 289 |
primary_hue=gr.themes.colors.amber,
|
| 290 |
secondary_hue=gr.themes.colors.stone,
|
| 291 |
neutral_hue=gr.themes.colors.stone,
|
| 292 |
+
font=[gr.themes.GoogleFont("Inter"), "system-ui", "sans-serif"],
|
| 293 |
+
font_mono=[gr.themes.GoogleFont("JetBrains Mono"), "monospace"],
|
| 294 |
).set(
|
| 295 |
body_background_fill="#f5f3ee",
|
| 296 |
block_background_fill="#ffffff",
|