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.
The eight series colours the fleet graph draws its bars in now have their own area file, `docs/design/areas/chart.md`, and are no longer in the §5d list in `docs/DESIGN.md`.
shipped production is serving it deploy a1ec9db
The eight series colours the fleet graph draws its bars in now have their own area file, docs/design/areas/chart.md, and are no longer in the §5d list in docs/DESIGN.md.
docs/design/areas/chart.md(new): it says what the component is for and names the function that draws it,windowSvg()insrc/web/fleet-graph.ts. It also says how the classes relate todata-seriesandseriesDot(), and that colours come from the--series-Ntokens insrc/design/themes.ts(the Okabe–Ito palette). Each of.fg-s0to.fg-s7is in a code span with a line saying what it is for..fg-s7is marked as the grey "others" series, which matchesseries-7: #8a8a8a.docs/DESIGN.md: only the eight.fg-sNlines are deleted from §5d. The stacked bar chart row in §5 already mentionsfg-sNand is unchanged.- No markup or stylesheet changes; the
.fg-s*rules insrc/web/style/content.tsare untouched.
bun scripts/design-lint.ts passes, and so do the 16 tests in bun test test/design-lint.test.ts.
🤖 Generated with Claude Code
Docs-only move, and it checks out. The eight .fg-s0…s7 lines leave §5d and now sit in docs/design/areas/chart.md. design-lint passes. The CSS rules (content.ts:225-232), the --series-N tokens (themes.ts:394-401, series-7 is the grey #8a8a8a), windowSvg() putting the class beside data-series, and seriesDot() all match the new text. No markup or style change, so there is no layout, keyboard or phone impact. Two things I would do next: (1) say in chart.md that series colour is never the only cue, since the legend and table carry the names; (2) add the remaining unlisted §5d classes to their own area files the same way.
The eight series colours the fleet graph draws its bars in now have their own area file,
docs/design/areas/chart.md, and are no longer in the §5d list indocs/DESIGN.md.docs/design/areas/chart.md(new): it says what the component is for and names the function that draws it,windowSvg()insrc/web/fleet-graph.ts. It also says how the classes relate todata-seriesandseriesDot(), and that colours come from the--series-Ntokens insrc/design/themes.ts(the Okabe–Ito palette). Each of.fg-s0to.fg-s7is in a code span with a line saying what it is for..fg-s7is marked as the grey "others" series, which matchesseries-7: #8a8a8a.docs/DESIGN.md: only the eight.fg-sNlines are deleted from §5d. The stacked bar chart row in §5 already mentionsfg-sNand is unchanged..fg-s*rules insrc/web/style/content.tsare untouched.bun scripts/design-lint.tspasses, and so do the 16 tests inbun test test/design-lint.test.ts.🤖 Generated with Claude Code
Closes #5499