Changed text colors to be more legible with dark themes

#75
by T145 - opened
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -88,7 +88,7 @@ def load_leaderboard_data(csv_file_path):
88
 
89
  # Add hyperlink to the model name
90
  df['Model'] = df.apply(
91
- lambda row: f'<a href="{row["Link"]}" target="_blank" style="color: blue; text-decoration: none;">{row["Model"]}</a>' if pd.notna(row["Link"]) else row["Model"],
92
  axis=1
93
  )
94
 
@@ -228,7 +228,7 @@ with GraInter:
228
  )
229
 
230
  gr.HTML("""
231
- <p style="color: #A52A2A; margin: 0; padding: 0; font-size: 0.9em; margin-top: -10px; text-align: right;">*Using system prompt. See Evaluation Details</p>
232
  """)
233
 
234
  gr.Markdown("""
 
88
 
89
  # Add hyperlink to the model name
90
  df['Model'] = df.apply(
91
+ lambda row: f'<a href="{row["Link"]}" target="_blank" style="color: DodgerBlue; text-decoration: none;">{row["Model"]}</a>' if pd.notna(row["Link"]) else row["Model"],
92
  axis=1
93
  )
94
 
 
228
  )
229
 
230
  gr.HTML("""
231
+ <p style="color: Tomato; margin: 0; padding: 0; font-size: 0.9em; margin-top: -10px; text-align: right;">*Using system prompt. See Evaluation Details</p>
232
  """)
233
 
234
  gr.Markdown("""