Refactored Barcode Page and made fixes to logic

This commit is contained in:
2026-04-15 14:08:16 +01:00
parent b2f34e308e
commit c4cf6a92fe
25 changed files with 4387 additions and 1028 deletions

View File

@@ -20,7 +20,7 @@ function PieChart({ segments }) {
return (
<div className="chart-container">
<svg width="350" height="350" viewBox="0 0 42 42">
<circle cx="21" cy="21" r={RADIUS} fill="transparent" stroke="#f2f2f2" strokeWidth="20" />
<circle cx="21" cy="21" r={RADIUS} fill="transparent" stroke="var(--color-chart-track)" strokeWidth="20" />
{computedSegments.map((seg, i) => (
<circle
key={i}