ZhouChuYue commited on
Commit
9336643
·
1 Parent(s): 91ada30

fix: change label text color to black with light background

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -229,13 +229,16 @@ body {
229
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
230
  }
231
 
232
- /* Labels - High Contrast, Clean White */
233
  label span, .gr-form label span {
234
- color: #f8fafc !important; /* Almost White */
235
- font-weight: 600 !important;
236
  font-size: 1rem !important;
237
  margin-bottom: 0.5rem !important;
238
  text-shadow: none !important;
 
 
 
239
  }
240
 
241
  /* Inputs & Textareas - Dark Grey Background for Contrast */
 
229
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
230
  }
231
 
232
+ /* Labels - High Contrast, Clean Black */
233
  label span, .gr-form label span {
234
+ color: #000000 !important; /* Pure Black */
235
+ font-weight: 700 !important;
236
  font-size: 1rem !important;
237
  margin-bottom: 0.5rem !important;
238
  text-shadow: none !important;
239
+ background-color: rgba(255, 255, 255, 0.8) !important; /* Light background for readability */
240
+ padding: 2px 6px !important;
241
+ border-radius: 4px !important;
242
  }
243
 
244
  /* Inputs & Textareas - Dark Grey Background for Contrast */