Use var(--accent) for zone color
This commit is contained in:
parent
516a9d9be8
commit
a3040cb195
|
@ -195,7 +195,7 @@
|
||||||
for (const path of Array.from(zones.querySelectorAll('path'))) {
|
for (const path of Array.from(zones.querySelectorAll('path'))) {
|
||||||
const points = convertToPoints(path);
|
const points = convertToPoints(path);
|
||||||
const zone = L
|
const zone = L
|
||||||
.polygon(points, {color: 'red'})
|
.polygon(points, {color: 'var(--accent)'})
|
||||||
.bindTooltip(path.getAttribute('aria-label'), {permanent: true})
|
.bindTooltip(path.getAttribute('aria-label'), {permanent: true})
|
||||||
;
|
;
|
||||||
zonesOverlay.addLayer(zone);
|
zonesOverlay.addLayer(zone);
|
||||||
|
|
Loading…
Reference in New Issue