cleanup: replace 37 hardcoded values with token references

Across 6 layer files: 1px→var(--border-width), 1rem→var(--space-4),
2rem→var(--space-6), etc. Intentionally left: 3px accent borders,
graduated chart spacing, em-based sub/sup ratios.
This commit is contained in:
Vigilio Desto 2026-04-10 19:27:46 +02:00
parent bffb86338d
commit 376bfb2364
Signed by: vigilio
GPG key ID: 159D6AD58C8E55E9
6 changed files with 50 additions and 50 deletions

View file

@ -44,12 +44,12 @@
/* Layout */
--chart-height: 200px; /* column chart area height */
--chart-bar-size: 2rem; /* column bar width / bar chart bar height */
--chart-bar-size: var(--space-6); /* column bar width / bar chart bar height */
--chart-gap: 6px; /* spacing between data points */
/* Axis / labels */
--chart-axis: var(--border);
--chart-axis-width: 2px;
--chart-axis-width: var(--outline-width);
--chart-label: var(--text-3);
--chart-label-size: var(--text-xs);
@ -406,7 +406,7 @@
color-mix(in oklch, var(--chart-color-1), transparent 80%) 0%,
transparent 60%
);
border-block-start: 2px solid var(--chart-color-1);
border-block-start: var(--outline-width) solid var(--chart-color-1);
position: relative;
}
@ -422,7 +422,7 @@
block-size: 8px;
border-radius: 50%;
background: var(--chart-color-1);
border: 2px solid var(--surface);
border: var(--outline-width) solid var(--surface);
z-index: 1;
}