Use var(--accent) for zone color

This commit is contained in:
jordi fita mas 2024-01-31 15:37:03 +01:00
parent 516a9d9be8
commit a3040cb195
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@
for (const path of Array.from(zones.querySelectorAll('path'))) {
const points = convertToPoints(path);
const zone = L
.polygon(points, {color: 'red'})
.polygon(points, {color: 'var(--accent)'})
.bindTooltip(path.getAttribute('aria-label'), {permanent: true})
;
zonesOverlay.addLayer(zone);