Zone ramp Z1 and fatigue line contrast are low #96

Closed
opened 2026-11-08 18:11:49 +00:00 by chris-kreidl · 2 comments
chris-kreidl commented 2026-11-08 18:11:49 +00:00 (Migrated from github.com)

(session 35, values from 46) The zone ramp's Z1 (#D9D9D5) is about 1.4:1 on white, below the dataviz validator's 2:1 light-end floor (labels and minutes carry it). The fatigue line (#A3A3A0) is about 2.6:1, relieved by the legend and the table.

Moved from docs/PROGRESS.md → Follow-ups → Later on 2026-11-08.

(session 35, values from 46) The zone ramp's Z1 (#D9D9D5) is about 1.4:1 on white, below the dataviz validator's 2:1 light-end floor (labels and minutes carry it). The fatigue line (#A3A3A0) is about 2.6:1, relieved by the legend and the table. _Moved from docs/PROGRESS.md → Follow-ups → Later on 2026-11-08._
chris-kreidl commented 2026-11-08 19:24:30 +00:00 (Migrated from github.com)

I think this has been resolved in #58

I think this has been resolved in #58
chris-kreidl commented 2026-11-08 19:56:49 +00:00 (Migrated from github.com)

What this is about. Two greys on the Progress charts are paler than the contrast guideline used for chart marks.

  • Zone 1 (z1 #D9D9D5 in src/styles/tokens.stylex.ts) is the lightest band on the Time in zone chart. It is about 1.4:1 against white, and the dataviz guideline wants at least 2:1 for the lightest step of a colour ramp. The chart still reads because the legend labels and minute values carry it.
  • The fatigue line (chart2 #A3A3A0) on the Fitness chart is about 2.6:1, below the 3:1 a line that carries data should have. The legend and the table view make up for it.

Status (checked 2026-11-08): the roadbook redesign (#58) didn't change these. Both values are the ones the redesign chose, and they are in DESIGN.md.

Fix when picked up: darken Z1 to reach 2:1 (around #B8B8B3), shifting Z2–Z7 so the ramp stays even, and darken the fatigue line to 3:1 (around #8A8A86, still lighter than fitness's ink). Update DESIGN.md and the contrast tests that pin these tokens. Or decide the current values are fine and close this.

**What this is about.** Two greys on the Progress charts are paler than the contrast guideline used for chart marks. - **Zone 1** (`z1` `#D9D9D5` in `src/styles/tokens.stylex.ts`) is the lightest band on the Time in zone chart. It is about 1.4:1 against white, and the dataviz guideline wants at least 2:1 for the lightest step of a colour ramp. The chart still reads because the legend labels and minute values carry it. - **The fatigue line** (`chart2` `#A3A3A0`) on the Fitness chart is about 2.6:1, below the 3:1 a line that carries data should have. The legend and the table view make up for it. **Status (checked 2026-11-08):** the roadbook redesign (#58) didn't change these. Both values are the ones the redesign chose, and they are in `DESIGN.md`. **Fix when picked up:** darken Z1 to reach 2:1 (around `#B8B8B3`), shifting Z2–Z7 so the ramp stays even, and darken the fatigue line to 3:1 (around `#8A8A86`, still lighter than fitness's ink). Update `DESIGN.md` and the contrast tests that pin these tokens. Or decide the current values are fine and close this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ckreidl/trainer#96
No description provided.