From a3040cb19511763f7907b1e9a2eb99c5f1722ae6 Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Wed, 31 Jan 2024 15:37:03 +0100 Subject: [PATCH] Use var(--accent) for zone color --- web/static/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/static/map.js b/web/static/map.js index 36dff53..b3d9f35 100644 --- a/web/static/map.js +++ b/web/static/map.js @@ -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);