Spaces:
Running
Running
openhands openhands commited on
Commit ·
0cdbc85
1
Parent(s): 928e4af
Make fonts consistent with Outfit across tables and charts
Browse files- Update table cell fonts from Manrope to Outfit
- Add global font setting to Plotly charts
- Add openhands_mark_color_forwhite.png to assets
Co-authored-by: openhands <openhands@all-hands.dev>
- assets/openhands_mark_color_forwhite.png +0 -0
- content.py +2 -2
- leaderboard_transformer.py +4 -0
- visualizations.py +4 -0
assets/openhands_mark_color_forwhite.png
ADDED
|
content.py
CHANGED
|
@@ -402,7 +402,7 @@ thead.svelte-1e98i6s th {
|
|
| 402 |
background: var(--color-background-dark) !important;
|
| 403 |
}
|
| 404 |
.cell-wrap.svelte-v1pjjd {
|
| 405 |
-
font-family: '
|
| 406 |
}
|
| 407 |
nav.svelte-ti537g.svelte-ti537g {
|
| 408 |
justify-content: flex-start;
|
|
@@ -464,7 +464,7 @@ nav.svelte-ti537g.svelte-ti537g {
|
|
| 464 |
line-height: 1.2 !important;
|
| 465 |
vertical-align: top !important;
|
| 466 |
font-size: 12px !important;
|
| 467 |
-
font-family: '
|
| 468 |
}
|
| 469 |
.wrap-header-df th {
|
| 470 |
height: auto !important;
|
|
|
|
| 402 |
background: var(--color-background-dark) !important;
|
| 403 |
}
|
| 404 |
.cell-wrap.svelte-v1pjjd {
|
| 405 |
+
font-family: 'Outfit', ui-sans-serif, sans-serif;
|
| 406 |
}
|
| 407 |
nav.svelte-ti537g.svelte-ti537g {
|
| 408 |
justify-content: flex-start;
|
|
|
|
| 464 |
line-height: 1.2 !important;
|
| 465 |
vertical-align: top !important;
|
| 466 |
font-size: 12px !important;
|
| 467 |
+
font-family: 'Outfit', ui-sans-serif, sans-serif;
|
| 468 |
}
|
| 469 |
.wrap-header-df th {
|
| 470 |
height: auto !important;
|
leaderboard_transformer.py
CHANGED
|
@@ -727,6 +727,10 @@ def _plot_scatter_plotly(
|
|
| 727 |
bgcolor='#F7F8FB', # neutral-50
|
| 728 |
),
|
| 729 |
height=572,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 730 |
hoverlabel=dict(
|
| 731 |
bgcolor="#222328", # neutral-800
|
| 732 |
font_size=12,
|
|
|
|
| 727 |
bgcolor='#F7F8FB', # neutral-50
|
| 728 |
),
|
| 729 |
height=572,
|
| 730 |
+
font=dict(
|
| 731 |
+
family="Outfit, ui-sans-serif, sans-serif",
|
| 732 |
+
color="#0D0D0F", # neutral-950
|
| 733 |
+
),
|
| 734 |
hoverlabel=dict(
|
| 735 |
bgcolor="#222328", # neutral-800
|
| 736 |
font_size=12,
|
visualizations.py
CHANGED
|
@@ -17,6 +17,10 @@ from ui_components import get_company_from_model, get_svg_as_data_uri
|
|
| 17 |
STANDARD_LAYOUT = dict(
|
| 18 |
template="plotly_white",
|
| 19 |
height=572,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
hoverlabel=dict(
|
| 21 |
bgcolor="#222328", # neutral-800
|
| 22 |
font_size=12,
|
|
|
|
| 17 |
STANDARD_LAYOUT = dict(
|
| 18 |
template="plotly_white",
|
| 19 |
height=572,
|
| 20 |
+
font=dict(
|
| 21 |
+
family="Outfit, ui-sans-serif, sans-serif",
|
| 22 |
+
color="#0D0D0F", # neutral-950
|
| 23 |
+
),
|
| 24 |
hoverlabel=dict(
|
| 25 |
bgcolor="#222328", # neutral-800
|
| 26 |
font_size=12,
|