Spaces:
Sleeping
Sleeping
style theme
Browse files- app.py +3 -0
- src/display/css_html_js.py +2 -2
app.py
CHANGED
|
@@ -101,6 +101,9 @@ custom_theme = gr.themes.Default(
|
|
| 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
|
|
|
|
| 101 |
button_primary_background_fill_hover="#3f3f46",
|
| 102 |
block_title_text_color="#f4f4f5",
|
| 103 |
accordion_text_color="#f4f4f5",
|
| 104 |
+
# Added panel styles for potential Row/Column/File backgrounds
|
| 105 |
+
panel_background_fill="#18181b",
|
| 106 |
+
panel_border_color="#27272a",
|
| 107 |
)
|
| 108 |
|
| 109 |
# Define the update_column_choices function before initializing the leaderboard components
|
src/display/css_html_js.py
CHANGED
|
@@ -32,7 +32,7 @@ custom_css = """
|
|
| 32 |
|
| 33 |
.metric-name {
|
| 34 |
font-weight: bold;
|
| 35 |
-
color: #
|
| 36 |
}
|
| 37 |
|
| 38 |
.model-name {
|
|
@@ -41,7 +41,7 @@ custom_css = """
|
|
| 41 |
|
| 42 |
.model-link:hover {
|
| 43 |
text-decoration: underline;
|
| 44 |
-
color: #
|
| 45 |
}
|
| 46 |
|
| 47 |
.version-selector {
|
|
|
|
| 32 |
|
| 33 |
.metric-name {
|
| 34 |
font-weight: bold;
|
| 35 |
+
color: #a1a1aa !important;
|
| 36 |
}
|
| 37 |
|
| 38 |
.model-name {
|
|
|
|
| 41 |
|
| 42 |
.model-link:hover {
|
| 43 |
text-decoration: underline;
|
| 44 |
+
color: #ffffff !important;
|
| 45 |
}
|
| 46 |
|
| 47 |
.version-selector {
|