Update app.py
Browse files
app.py
CHANGED
|
@@ -19,14 +19,24 @@ theme = gr.themes.Soft(
|
|
| 19 |
).set(
|
| 20 |
body_background_fill="#1a1a1a",
|
| 21 |
body_background_fill_dark="#1a1a1a",
|
|
|
|
|
|
|
| 22 |
block_background_fill="#2d2d2d",
|
| 23 |
block_background_fill_dark="#2d2d2d",
|
| 24 |
block_border_color="#404040",
|
| 25 |
block_border_color_dark="#404040",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
input_background_fill="#2d2d2d",
|
| 27 |
input_background_fill_dark="#2d2d2d",
|
| 28 |
input_border_color="#555555",
|
| 29 |
input_border_color_dark="#555555",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
button_primary_background_fill="#1e40af",
|
| 31 |
button_primary_background_fill_hover="#2563eb",
|
| 32 |
button_primary_text_color="#ffffff",
|
|
@@ -386,6 +396,9 @@ with gr.Blocks(theme=theme, title="Kwekel Companies Contact Search Tool", css=""
|
|
| 386 |
color: #ffffff;
|
| 387 |
margin-top: 0;
|
| 388 |
}
|
|
|
|
|
|
|
|
|
|
| 389 |
.footer {
|
| 390 |
text-align: center;
|
| 391 |
margin-top: 2rem;
|
|
@@ -395,10 +408,36 @@ with gr.Blocks(theme=theme, title="Kwekel Companies Contact Search Tool", css=""
|
|
| 395 |
}
|
| 396 |
body {
|
| 397 |
background-color: #1a1a1a !important;
|
| 398 |
-
color: #
|
| 399 |
}
|
| 400 |
.dark {
|
| 401 |
background-color: #1a1a1a !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 402 |
}
|
| 403 |
""") as demo:
|
| 404 |
|
|
|
|
| 19 |
).set(
|
| 20 |
body_background_fill="#1a1a1a",
|
| 21 |
body_background_fill_dark="#1a1a1a",
|
| 22 |
+
body_text_color="#e5e5e5",
|
| 23 |
+
body_text_color_dark="#e5e5e5",
|
| 24 |
block_background_fill="#2d2d2d",
|
| 25 |
block_background_fill_dark="#2d2d2d",
|
| 26 |
block_border_color="#404040",
|
| 27 |
block_border_color_dark="#404040",
|
| 28 |
+
block_label_text_color="#e5e5e5",
|
| 29 |
+
block_label_text_color_dark="#e5e5e5",
|
| 30 |
+
block_title_text_color="#e5e5e5",
|
| 31 |
+
block_title_text_color_dark="#e5e5e5",
|
| 32 |
input_background_fill="#2d2d2d",
|
| 33 |
input_background_fill_dark="#2d2d2d",
|
| 34 |
input_border_color="#555555",
|
| 35 |
input_border_color_dark="#555555",
|
| 36 |
+
input_text_color="#e5e5e5",
|
| 37 |
+
input_text_color_dark="#e5e5e5",
|
| 38 |
+
input_placeholder_color="#a0a0a0",
|
| 39 |
+
input_placeholder_color_dark="#a0a0a0",
|
| 40 |
button_primary_background_fill="#1e40af",
|
| 41 |
button_primary_background_fill_hover="#2563eb",
|
| 42 |
button_primary_text_color="#ffffff",
|
|
|
|
| 396 |
color: #ffffff;
|
| 397 |
margin-top: 0;
|
| 398 |
}
|
| 399 |
+
.info-box p, .info-box ol, .info-box li {
|
| 400 |
+
color: #e5e5e5;
|
| 401 |
+
}
|
| 402 |
.footer {
|
| 403 |
text-align: center;
|
| 404 |
margin-top: 2rem;
|
|
|
|
| 408 |
}
|
| 409 |
body {
|
| 410 |
background-color: #1a1a1a !important;
|
| 411 |
+
color: #e5e5e5 !important;
|
| 412 |
}
|
| 413 |
.dark {
|
| 414 |
background-color: #1a1a1a !important;
|
| 415 |
+
color: #e5e5e5 !important;
|
| 416 |
+
}
|
| 417 |
+
/* Ensure all text is light colored */
|
| 418 |
+
.gradio-container * {
|
| 419 |
+
color: #e5e5e5 !important;
|
| 420 |
+
}
|
| 421 |
+
/* Override specific elements that need light text */
|
| 422 |
+
.gr-textbox input, .gr-textbox textarea {
|
| 423 |
+
color: #e5e5e5 !important;
|
| 424 |
+
background-color: #2d2d2d !important;
|
| 425 |
+
}
|
| 426 |
+
.gr-markdown {
|
| 427 |
+
color: #e5e5e5 !important;
|
| 428 |
+
}
|
| 429 |
+
.gr-code {
|
| 430 |
+
color: #e5e5e5 !important;
|
| 431 |
+
background-color: #2d2d2d !important;
|
| 432 |
+
}
|
| 433 |
+
label {
|
| 434 |
+
color: #e5e5e5 !important;
|
| 435 |
+
}
|
| 436 |
+
.gr-form {
|
| 437 |
+
color: #e5e5e5 !important;
|
| 438 |
+
}
|
| 439 |
+
.gr-block {
|
| 440 |
+
color: #e5e5e5 !important;
|
| 441 |
}
|
| 442 |
""") as demo:
|
| 443 |
|