style theme
Browse files
app.py
CHANGED
@@ -114,6 +114,32 @@ custom_theme = gr.themes.Default(
|
|
114 |
border_color_accent_subdued_dark="#3f3f46",
|
115 |
color_accent_soft="#a1a1aa",
|
116 |
color_accent_soft_dark="#a1a1aa",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
)
|
118 |
|
119 |
# Define the update_column_choices function before initializing the leaderboard components
|
|
|
114 |
border_color_accent_subdued_dark="#3f3f46",
|
115 |
color_accent_soft="#a1a1aa",
|
116 |
color_accent_soft_dark="#a1a1aa",
|
117 |
+
# Explicitly setting input hover/focus states
|
118 |
+
input_background_fill_dark="#1f1f23",
|
119 |
+
input_background_fill_focus="#3f3f46",
|
120 |
+
input_background_fill_focus_dark="#3f3f46",
|
121 |
+
input_background_fill_hover="#27272a",
|
122 |
+
input_background_fill_hover_dark="#27272a",
|
123 |
+
input_border_color_dark="#3f3f46",
|
124 |
+
input_border_color_focus="#f4f4f5",
|
125 |
+
input_border_color_focus_dark="#f4f4f5",
|
126 |
+
input_border_color_hover="#71717a",
|
127 |
+
input_border_color_hover_dark="#71717a",
|
128 |
+
input_placeholder_color_dark="#71717a",
|
129 |
+
# Explicitly set dark variants for table backgrounds
|
130 |
+
table_even_background_fill_dark="#1c1c1f",
|
131 |
+
table_odd_background_fill_dark="#212121",
|
132 |
+
# Explicitly set dark text variants
|
133 |
+
body_text_color_dark="#f4f4f5",
|
134 |
+
body_text_color_subdued_dark="#a1a1aa",
|
135 |
+
block_title_text_color_dark="#f4f4f5",
|
136 |
+
accordion_text_color_dark="#f4f4f5",
|
137 |
+
table_text_color_dark="#f4f4f5",
|
138 |
+
# Explicitly set dark panel/block variants
|
139 |
+
panel_background_fill_dark="#212121",
|
140 |
+
panel_border_color_dark="#27272a",
|
141 |
+
block_background_fill_dark="#212121",
|
142 |
+
block_border_color_dark="#27272a",
|
143 |
)
|
144 |
|
145 |
# Define the update_column_choices function before initializing the leaderboard components
|