style theme
Browse files
app.py
CHANGED
|
@@ -104,6 +104,17 @@ custom_theme = gr.themes.Default(
|
|
| 104 |
accordion_text_color="#f4f4f5",
|
| 105 |
panel_background_fill="#212121",
|
| 106 |
panel_border_color="#27272a",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
)
|
| 108 |
|
| 109 |
# Define the update_column_choices function before initializing the leaderboard components
|
|
|
|
| 104 |
accordion_text_color="#f4f4f5",
|
| 105 |
panel_background_fill="#212121",
|
| 106 |
panel_border_color="#27272a",
|
| 107 |
+
# Explicitly setting primary/secondary/accent colors/borders
|
| 108 |
+
background_fill_primary="#0f0f10",
|
| 109 |
+
background_fill_primary_dark="#0f0f10",
|
| 110 |
+
background_fill_secondary_dark="#27272a",
|
| 111 |
+
border_color_primary_dark="#3f3f46",
|
| 112 |
+
border_color_accent_dark="#27272a",
|
| 113 |
+
border_color_accent_subdued="#3f3f46",
|
| 114 |
+
border_color_accent_subdued_dark="#3f3f46",
|
| 115 |
+
color_accent_dark="#f4f4f5",
|
| 116 |
+
color_accent_soft="#a1a1aa",
|
| 117 |
+
color_accent_soft_dark="#a1a1aa",
|
| 118 |
)
|
| 119 |
|
| 120 |
# Define the update_column_choices function before initializing the leaderboard components
|