Archie commited on
Commit
8277dc8
·
1 Parent(s): a763da5

Force all labels black

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -106,8 +106,10 @@ theme = gr.themes.Base(
106
  block_background_fill_dark="#22223a",
107
  body_text_color="#1a1a1a",
108
  body_text_color_dark="#e8e6e3",
109
- block_label_text_color="#555555",
110
  block_label_text_color_dark="#b0b0bc",
 
 
111
  button_primary_background_fill="#b8941e",
112
  button_primary_background_fill_dark="#c4a035",
113
  button_primary_text_color="#ffffff",
@@ -135,8 +137,11 @@ input[type="radio"] + label, .radio-group label,
135
  label.svelte-1qxcj04, span.svelte-1qxcj04,
136
  .block label span, .wrap label span { color: #1a1a1a !important; }
137
  .dark .block label span, .dark .wrap label span { color: #e8e6e3 !important; }
138
- /* All form labels and text */
139
- .label-wrap span, .block .label-wrap, .gradio-group label { color: #1a1a1a !important; }
 
 
 
140
  .dark .label-wrap span, .dark .block .label-wrap { color: #e8e6e3 !important; }
141
  /* Input text */
142
  input, textarea, select, .input-text { color: #1a1a1a !important; }
 
106
  block_background_fill_dark="#22223a",
107
  body_text_color="#1a1a1a",
108
  body_text_color_dark="#e8e6e3",
109
+ block_label_text_color="#1a1a1a",
110
  block_label_text_color_dark="#b0b0bc",
111
+ block_title_text_color="#1a1a1a",
112
+ block_title_text_color_dark="#b0b0bc",
113
  button_primary_background_fill="#b8941e",
114
  button_primary_background_fill_dark="#c4a035",
115
  button_primary_text_color="#ffffff",
 
137
  label.svelte-1qxcj04, span.svelte-1qxcj04,
138
  .block label span, .wrap label span { color: #1a1a1a !important; }
139
  .dark .block label span, .dark .wrap label span { color: #e8e6e3 !important; }
140
+ /* All form labels and text - force black */
141
+ .label-wrap span, .block .label-wrap, .gradio-group label,
142
+ label, .label-wrap, .block label, span[data-testid],
143
+ .gradio-container label, .gradio-container .label-wrap span,
144
+ .block .wrap .label-wrap span, h3, h4 { color: #1a1a1a !important; }
145
  .dark .label-wrap span, .dark .block .label-wrap { color: #e8e6e3 !important; }
146
  /* Input text */
147
  input, textarea, select, .input-text { color: #1a1a1a !important; }