Spaces:
Sleeping
Sleeping
Fix label colours for ColorPicker components
Browse filesCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -438,9 +438,16 @@ select, .dropdown { background: white !important; color: #3D2E1E !important; }
|
|
| 438 |
[data-testid="image"] button, [data-testid="image"] .toolbar { background: transparent !important; border: none !important; box-shadow: none !important; color: #8A7660 !important; }
|
| 439 |
|
| 440 |
/* βββ Labels βββ */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 441 |
label > span, fieldset > span, [data-testid="radio-group"] > span, .container > span:first-child,
|
| 442 |
[data-testid="color-picker"] label, [data-testid="color-picker"] span,
|
| 443 |
-
|
|
|
|
| 444 |
font-size: .65rem !important; font-weight: 700 !important;
|
| 445 |
letter-spacing: .14em !important; text-transform: uppercase !important;
|
| 446 |
color: #3D2E1E !important;
|
|
|
|
| 438 |
[data-testid="image"] button, [data-testid="image"] .toolbar { background: transparent !important; border: none !important; box-shadow: none !important; color: #8A7660 !important; }
|
| 439 |
|
| 440 |
/* βββ Labels βββ */
|
| 441 |
+
.gradio-container {
|
| 442 |
+
--block-label-text-color: #3D2E1E !important;
|
| 443 |
+
--block-title-text-color: #3D2E1E !important;
|
| 444 |
+
--body-text-color: #3D2E1E !important;
|
| 445 |
+
--body-text-color-subdued: #3D2E1E !important;
|
| 446 |
+
}
|
| 447 |
label > span, fieldset > span, [data-testid="radio-group"] > span, .container > span:first-child,
|
| 448 |
[data-testid="color-picker"] label, [data-testid="color-picker"] span,
|
| 449 |
+
span[data-testid="block-info"],
|
| 450 |
+
.gradio-container label, .gradio-container label span, .block label, .block label span {
|
| 451 |
font-size: .65rem !important; font-weight: 700 !important;
|
| 452 |
letter-spacing: .14em !important; text-transform: uppercase !important;
|
| 453 |
color: #3D2E1E !important;
|
theme.py
CHANGED
|
@@ -73,7 +73,7 @@ class Philatelist(Base):
|
|
| 73 |
super().set(
|
| 74 |
# ββ Canvas ββ
|
| 75 |
body_background_fill="*neutral_100",
|
| 76 |
-
body_text_color="
|
| 77 |
background_fill_primary="*neutral_100",
|
| 78 |
background_fill_secondary="*neutral_200",
|
| 79 |
|
|
@@ -83,8 +83,12 @@ class Philatelist(Base):
|
|
| 83 |
block_border_width="0px",
|
| 84 |
block_shadow="none",
|
| 85 |
block_label_background_fill="*neutral_100",
|
| 86 |
-
block_label_text_color="
|
| 87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
|
| 89 |
# ββ Inputs ββ
|
| 90 |
input_background_fill="white",
|
|
|
|
| 73 |
super().set(
|
| 74 |
# ββ Canvas ββ
|
| 75 |
body_background_fill="*neutral_100",
|
| 76 |
+
body_text_color="#3D2E1E",
|
| 77 |
background_fill_primary="*neutral_100",
|
| 78 |
background_fill_secondary="*neutral_200",
|
| 79 |
|
|
|
|
| 83 |
block_border_width="0px",
|
| 84 |
block_shadow="none",
|
| 85 |
block_label_background_fill="*neutral_100",
|
| 86 |
+
block_label_text_color="#3D2E1E",
|
| 87 |
+
block_label_text_color_dark="#3D2E1E",
|
| 88 |
+
block_title_text_color="#3D2E1E",
|
| 89 |
+
block_title_text_color_dark="#3D2E1E",
|
| 90 |
+
body_text_color_subdued="#3D2E1E",
|
| 91 |
+
body_text_color_subdued_dark="#3D2E1E",
|
| 92 |
|
| 93 |
# ββ Inputs ββ
|
| 94 |
input_background_fill="white",
|