Files
Jungfraujoch/viewer
leonarski_fandClaude Opus 5.5 a27424b3b8 Viewer: plot colours from the theme's own palette
The dataset-info and per-image plots used matplotlib's tab10 (blue, orange,
...) or the Qt chart theme's defaults, unrelated to the salmon/navy and
indigo/light-blue themes. They now come from ViewerTheme:

- PlotSeriesColor(i): light/dark pairs of one hue each. First a steel navy
  #3A6EA5 on light (the heading navy #1F3A5F drawn 3 px wide reads as black)
  and the headings' light blue #9DBBE3 on dark; then the caution amber
  #B8860B / #E9C46A; then teal, plum, green, rose, slate, brown softened to
  the same weight. Contrast on the plot area: 3.2-5.7:1 light, 8-11:1 dark.
  The navy/amber pair (Spots + background) is also colour-blind safe.
  Coral and red are kept out: hover lines, the marker and alerts use them.
- The old pair measured 2.5:1 (orange on white) and 3.8:1 (blue on the dark
  #12142B plot); navy itself would be 1.6:1 there.
- Current-image marker: coral (the sliders' fill) with a ring of plot
  background, instead of black/near-white.
- StyleChartAxes: grid lines take the slider groove colour (salmon #F3D9D4 /
  indigo #363A66) and the dark theme's axis lines are muted; Qt's light grey
  grid outshone the data on dark.
- Run colours are picked again on a theme change (they used to keep the
  previous theme's).

Verified headlessly in both themes, including a live theme switch: rendered
line pixels are exactly #3A6EA5/#B8860B and #9DBBE3/#E9C46A.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-28 12:55:38 +02:00
..
2026-09-09 07:25:13 +02:00
2025-11-28 16:22:18 +01:00
2026-09-15 17:09:31 +02:00
2026-09-15 17:09:31 +02:00
2026-09-16 18:17:46 +02:00
2026-06-23 20:29:49 +02:00
2026-06-25 22:01:48 +02:00
2026-09-15 17:09:31 +02:00
2026-09-15 17:09:31 +02:00
2026-06-23 20:29:49 +02:00
2025-11-09 12:42:27 +01:00