ovi054 linoyts HF Staff commited on
Commit
b6eb84d
·
1 Parent(s): 094e4b0

UI: make Quick LoRA names readable on dark theme (#1)

Browse files

- UI: make Quick LoRA names readable on dark theme (ae912c37a373da554398db0d7cc83fafded4564e)


Co-authored-by: Linoy Tsaban <linoyts@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -207,6 +207,10 @@ css = '''
207
  background: rgba(100,100,100,0.18) !important;
208
  border-color: rgba(100,100,100,0.4) !important;
209
  }
 
 
 
 
210
  /* Link icon pill */
211
  .quick-lora-link {
212
  display: inline-flex;
 
207
  background: rgba(100,100,100,0.18) !important;
208
  border-color: rgba(100,100,100,0.4) !important;
209
  }
210
+ /* Keep LoRA names readable on the dark theme (default inherited color is too dark) */
211
+ .dark #quick-loras-container button {
212
+ color: #ffffff !important;
213
+ }
214
  /* Link icon pill */
215
  .quick-lora-link {
216
  display: inline-flex;