Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Commit ·
b23f8a3
1
Parent(s): f5e74b5
fix main chart dclm darkmode issue
Browse files
app/src/content/embeds/d3-benchmark-comparison.html
CHANGED
|
@@ -199,7 +199,7 @@
|
|
| 199 |
const defaultMetric = cfg.defaultMetric || 'agg_score_macro';
|
| 200 |
const defaultView = cfg.defaultView || 'bar';
|
| 201 |
// Stable baseline colors, merged with per-chart overrides
|
| 202 |
-
const PINNED_COLORS = Object.assign({ 'DCLM': '#
|
| 203 |
// Unique ID suffix for multiple instances on same page
|
| 204 |
const uid = Math.random().toString(36).slice(2, 8);
|
| 205 |
|
|
|
|
| 199 |
const defaultMetric = cfg.defaultMetric || 'agg_score_macro';
|
| 200 |
const defaultView = cfg.defaultView || 'bar';
|
| 201 |
// Stable baseline colors, merged with per-chart overrides
|
| 202 |
+
const PINNED_COLORS = Object.assign({ 'DCLM': '#8b8b8b', 'FineWeb-Edu (HQ)': '#86a1a9' }, cfg.pinnedColors || {});
|
| 203 |
// Unique ID suffix for multiple instances on same page
|
| 204 |
const uid = Math.random().toString(36).slice(2, 8);
|
| 205 |
|