Spaces:
Running
Running
Audit and fix dark contrast edge cases
Browse files
app.py
CHANGED
|
@@ -380,10 +380,10 @@ def acceptance_heatmap(target):
|
|
| 380 |
x=TASKS,
|
| 381 |
y=METHODS,
|
| 382 |
colorscale=[
|
| 383 |
-
[0.0, "#
|
| 384 |
-
[0.35, "#
|
| 385 |
-
[0.
|
| 386 |
-
[1.0, "#
|
| 387 |
],
|
| 388 |
text=[[f"{v:.2f}" for v in row] for row in z],
|
| 389 |
texttemplate="%{text}",
|
|
@@ -660,11 +660,13 @@ CSS = """
|
|
| 660 |
.gradio-container h6,
|
| 661 |
.gradio-container legend,
|
| 662 |
.gradio-container summary,
|
|
|
|
| 663 |
.gradio-container [class*="label"],
|
| 664 |
.gradio-container [class*="Label"],
|
| 665 |
.gradio-container [data-testid*="label"] {
|
| 666 |
color: #f8fafc !important;
|
| 667 |
opacity: 1 !important;
|
|
|
|
| 668 |
}
|
| 669 |
.gradio-container small,
|
| 670 |
.gradio-container .secondary,
|
|
@@ -674,6 +676,13 @@ CSS = """
|
|
| 674 |
color: #cbd5e1 !important;
|
| 675 |
opacity: 1 !important;
|
| 676 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 677 |
.gradio-container input,
|
| 678 |
.gradio-container textarea,
|
| 679 |
.gradio-container select {
|
|
|
|
| 380 |
x=TASKS,
|
| 381 |
y=METHODS,
|
| 382 |
colorscale=[
|
| 383 |
+
[0.0, "#0b1220"],
|
| 384 |
+
[0.35, "#1e3a8a"],
|
| 385 |
+
[0.68, "#0f766e"],
|
| 386 |
+
[1.0, "#9a3412"],
|
| 387 |
],
|
| 388 |
text=[[f"{v:.2f}" for v in row] for row in z],
|
| 389 |
texttemplate="%{text}",
|
|
|
|
| 660 |
.gradio-container h6,
|
| 661 |
.gradio-container legend,
|
| 662 |
.gradio-container summary,
|
| 663 |
+
.gradio-container [data-testid="block-info"],
|
| 664 |
.gradio-container [class*="label"],
|
| 665 |
.gradio-container [class*="Label"],
|
| 666 |
.gradio-container [data-testid*="label"] {
|
| 667 |
color: #f8fafc !important;
|
| 668 |
opacity: 1 !important;
|
| 669 |
+
font-weight: 600 !important;
|
| 670 |
}
|
| 671 |
.gradio-container small,
|
| 672 |
.gradio-container .secondary,
|
|
|
|
| 676 |
color: #cbd5e1 !important;
|
| 677 |
opacity: 1 !important;
|
| 678 |
}
|
| 679 |
+
.gradio-container .min_value,
|
| 680 |
+
.gradio-container .max_value,
|
| 681 |
+
.gradio-container [class*="min_value"],
|
| 682 |
+
.gradio-container [class*="max_value"] {
|
| 683 |
+
color: #dbeafe !important;
|
| 684 |
+
opacity: 1 !important;
|
| 685 |
+
}
|
| 686 |
.gradio-container input,
|
| 687 |
.gradio-container textarea,
|
| 688 |
.gradio-container select {
|