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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user