From 881c4bff63118215a8ae5c40c734790dc9ee9b4d Mon Sep 17 00:00:00 2001 From: a1denvalu3 Date: Tue, 9 Jun 2026 13:46:32 +0200 Subject: [PATCH] style: color standard relays differently using theme accent color --- index.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 22d6403..2cbfebb 100644 --- a/index.html +++ b/index.html @@ -1099,6 +1099,7 @@ state.markers = []; const primaryColor = getComputedStyle(document.documentElement).getPropertyValue('--text-primary').trim(); + const accentColor = getComputedStyle(document.documentElement).getPropertyValue('--accent-color').trim(); const glowColor = getComputedStyle(document.documentElement).getPropertyValue('--border-color').trim(); const showBitChatOnly = document.getElementById('bitchat-filter-checkbox') ? document.getElementById('bitchat-filter-checkbox').checked : true; @@ -1111,10 +1112,10 @@ } const isBC = r.isBitChat === 1; - const markerColor = isBC ? primaryColor : '#555555'; - const markerRadius = isBC ? 5 : 3; - const markerOpacity = isBC ? 0.9 : 0.4; - const markerFillOpacity = isBC ? 0.8 : 0.3; + const markerColor = isBC ? primaryColor : accentColor; + const markerRadius = isBC ? 5.5 : 3.5; + const markerOpacity = isBC ? 0.95 : 0.65; + const markerFillOpacity = isBC ? 0.85 : 0.45; // Create circle marker const marker = L.circleMarker([r.lat, r.lon], {