Spaces:
Running
Running
Configure both light and dark mode variables to force dark theme contrast across all user appearances
Browse files
app.py
CHANGED
|
@@ -138,11 +138,55 @@ custom_theme = gr.themes.Default(
|
|
| 138 |
neutral_hue="slate"
|
| 139 |
).set(
|
| 140 |
body_background_fill="#0b0c10",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
block_background_fill="#161a23",
|
|
|
|
|
|
|
| 142 |
block_border_color="rgba(255, 255, 255, 0.08)",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
button_primary_background_fill="#7f5af0",
|
|
|
|
|
|
|
| 144 |
button_primary_text_color="#ffffff",
|
| 145 |
-
|
|
|
|
|
|
|
|
|
|
| 146 |
)
|
| 147 |
|
| 148 |
with gr.Blocks(title="ReLiveStream - Interactive Replay", theme=custom_theme) as demo:
|
|
|
|
| 138 |
neutral_hue="slate"
|
| 139 |
).set(
|
| 140 |
body_background_fill="#0b0c10",
|
| 141 |
+
body_background_fill_dark="#0b0c10",
|
| 142 |
+
|
| 143 |
+
body_text_color="#fffffe",
|
| 144 |
+
body_text_color_dark="#fffffe",
|
| 145 |
+
|
| 146 |
+
body_text_color_subdued="#94a1b2",
|
| 147 |
+
body_text_color_subdued_dark="#94a1b2",
|
| 148 |
+
|
| 149 |
block_background_fill="#161a23",
|
| 150 |
+
block_background_fill_dark="#161a23",
|
| 151 |
+
|
| 152 |
block_border_color="rgba(255, 255, 255, 0.08)",
|
| 153 |
+
block_border_color_dark="rgba(255, 255, 255, 0.08)",
|
| 154 |
+
|
| 155 |
+
block_title_text_color="#fffffe",
|
| 156 |
+
block_title_text_color_dark="#fffffe",
|
| 157 |
+
|
| 158 |
+
block_label_text_color="#94a1b2",
|
| 159 |
+
block_label_text_color_dark="#94a1b2",
|
| 160 |
+
|
| 161 |
+
input_background_fill="#11141a",
|
| 162 |
+
input_background_fill_dark="#11141a",
|
| 163 |
+
|
| 164 |
+
input_text_color="#fffffe",
|
| 165 |
+
input_text_color_dark="#fffffe",
|
| 166 |
+
|
| 167 |
+
input_placeholder_color="#94a1b2",
|
| 168 |
+
input_placeholder_color_dark="#94a1b2",
|
| 169 |
+
|
| 170 |
+
input_border_color="rgba(255, 255, 255, 0.08)",
|
| 171 |
+
input_border_color_dark="rgba(255, 255, 255, 0.08)",
|
| 172 |
+
|
| 173 |
+
panel_background_fill="#161a23",
|
| 174 |
+
panel_background_fill_dark="#161a23",
|
| 175 |
+
|
| 176 |
+
panel_border_color="rgba(255, 255, 255, 0.08)",
|
| 177 |
+
panel_border_color_dark="rgba(255, 255, 255, 0.08)",
|
| 178 |
+
|
| 179 |
+
border_color_primary="rgba(255, 255, 255, 0.08)",
|
| 180 |
+
border_color_primary_dark="rgba(255, 255, 255, 0.08)",
|
| 181 |
+
|
| 182 |
button_primary_background_fill="#7f5af0",
|
| 183 |
+
button_primary_background_fill_dark="#7f5af0",
|
| 184 |
+
|
| 185 |
button_primary_text_color="#ffffff",
|
| 186 |
+
button_primary_text_color_dark="#ffffff",
|
| 187 |
+
|
| 188 |
+
button_primary_background_fill_hover="#9370db",
|
| 189 |
+
button_primary_background_fill_hover_dark="#9370db"
|
| 190 |
)
|
| 191 |
|
| 192 |
with gr.Blocks(title="ReLiveStream - Interactive Replay", theme=custom_theme) as demo:
|