fitness: theme-reactive chart colors, bar outline fix, and stats label polish

- Stats and exercise pages: chart colors adapt to light/dark theme reactively
- FitnessChart: remove bar outline (borderWidth 0 for bar type)
- Stats: workouts icon/card use --color-primary, plural-aware label, rename labels
This commit is contained in:
2026-03-20 15:46:03 +01:00
parent 014640d82b
commit da0aed2f44
3 changed files with 57 additions and 14 deletions
@@ -54,7 +54,7 @@
backgroundColor: ds.backgroundColor ?? (type === 'bar'
? (nordColors[i % nordColors.length])
: 'transparent'),
borderWidth: ds.borderWidth ?? (type === 'line' ? 2 : 1),
borderWidth: ds.borderWidth ?? (type === 'line' ? 2 : 0),
pointRadius: ds.pointRadius ?? (type === 'line' ? 3 : 0),
pointBackgroundColor: ds.pointBackgroundColor || ds.borderColor || nordColors[i % nordColors.length],
tension: ds.tension ?? 0.3,