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

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

mason/forge:mason/5499-a-chart-s-series-colours-are-named-in-do → main 1 commit fork

  • Merged. mason/5499-a-chart-s-series-colours-are-named-in-do was merged into main as 85cad28.

Review

Sign in to review this change.
2 files changed +11 −8
docs/DESIGN.md −8
@@ -480,14 +480,6 @@ the same line (#4888).
480480 - `.commit-body`
481481 - `.commit-head`
482482 - `.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`
491483 - `.filters`
492484 - `.front-admin`
493485 - `.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).

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs