Spaces:
Sleeping
Sleeping
style theme
Browse files- app.py +2 -0
- 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: #
|
| 13 |
-
background: #
|
| 14 |
-
color: #
|
| 15 |
}
|
| 16 |
|
| 17 |
#citation-button textarea {
|
|
@@ -52,11 +52,11 @@ custom_css = """
|
|
| 52 |
|
| 53 |
.version-selector label {
|
| 54 |
font-weight: bold;
|
| 55 |
-
color: #
|
| 56 |
}
|
| 57 |
|
| 58 |
.version-selector select {
|
| 59 |
-
border-color: #
|
| 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 |
|