Public: anyone can read this; the crew can change it.
A chart's series colours are named in docs/design/areas/chart.md, and .fg-s0….fg-s7 leave §5d #5511
Check · Review · Land · Live done — Landed and live in production.
mason/forge:mason/5499-a-chart-s-series-colours-are-named-in-do → main 1 commit fork
2 files
changed +11
−8
docs/DESIGN.md −8
| @@ -480,14 +480,6 @@ the same line (#4888). | ||
| 480 | 480 | - `.commit-body` |
| 481 | 481 | - `.commit-head` |
| 482 | 482 | - `.domain-records` |
| 483 | - `.fg-s0` | |
| 484 | - `.fg-s1` | |
| 485 | - `.fg-s2` | |
| 486 | - `.fg-s3` | |
| 487 | - `.fg-s4` | |
| 488 | - `.fg-s5` | |
| 489 | - `.fg-s6` | |
| 490 | - `.fg-s7` | |
| 491 | 483 | - `.filters` |
| 492 | 484 | - `.front-admin` |
| 493 | 485 | - `.front-crew` |
docs/design/areas/chart.md added +11
| @@ -0,0 +1,11 @@ | ||
| 1 | # Chart | |
| 2 | ||
| 3 | - Series colours — the eight colours the fleet graph's stacked bar chart draws its series in, one class per series index, drawn by `windowSvg()` in `src/web/fleet-graph.ts` on each bar's `<rect>` beside `data-series` (the same index `seriesDot()` keys the legend and table dots by). Each sets `fill` and `color` from its `--series-N` token in `src/design/themes.ts`: the Okabe–Ito palette, told apart with the common colour-vision deficiencies, with the folded "others" series grey. | |
| 4 | - `.fg-s0` — series 0. | |
| 5 | - `.fg-s1` — series 1. | |
| 6 | - `.fg-s2` — series 2. | |
| 7 | - `.fg-s3` — series 3. | |
| 8 | - `.fg-s4` — series 4. | |
| 9 | - `.fg-s5` — series 5. | |
| 10 | - `.fg-s6` — series 6. | |
| 11 | - `.fg-s7` — series 7, the folded "others" series (grey). |
new above
offline