apsys commited on
Commit
9d836ae
·
1 Parent(s): bd718b1

style theme

Browse files
Files changed (2) hide show
  1. app.py +2 -0
  2. src/display/css_html_js.py +5 -5
app.py CHANGED
@@ -99,6 +99,8 @@ custom_theme = gr.themes.Default(
99
  color_accent="#f4f4f5",
100
  border_color_accent="#27272a",
101
  button_primary_background_fill_hover="#3f3f46",
 
 
102
  )
103
 
104
  # Define the update_column_choices function before initializing the leaderboard components
 
99
  color_accent="#f4f4f5",
100
  border_color_accent="#27272a",
101
  button_primary_background_fill_hover="#3f3f46",
102
+ block_title_text_color="#f4f4f5",
103
+ accordion_text_color="#f4f4f5",
104
  )
105
 
106
  # Define the update_column_choices function before initializing the leaderboard components
src/display/css_html_js.py CHANGED
@@ -9,9 +9,9 @@ custom_css = """
9
  }
10
 
11
  .tab-buttons button.selected {
12
- border-color: #2196F3 !important;
13
- background: #E3F2FD !important;
14
- color: #2196F3 !important;
15
  }
16
 
17
  #citation-button textarea {
@@ -52,11 +52,11 @@ custom_css = """
52
 
53
  .version-selector label {
54
  font-weight: bold;
55
- color: #2196F3;
56
  }
57
 
58
  .version-selector select {
59
- border-color: #2196F3;
60
  border-radius: 4px;
61
  }
62
 
 
9
  }
10
 
11
  .tab-buttons button.selected {
12
+ border-color: #f4f4f5 !important;
13
+ background: #3f3f46 !important;
14
+ color: #f4f4f5 !important;
15
  }
16
 
17
  #citation-button textarea {
 
52
 
53
  .version-selector label {
54
  font-weight: bold;
55
+ color: #f4f4f5 !important;
56
  }
57
 
58
  .version-selector select {
59
+ border-color: #3f3f46 !important;
60
  border-radius: 4px;
61
  }
62