[fix](trx-frontend-http): use dedicated --ais-accent color for map markers

Replace --accent-red with a new --ais-accent CSS variable (default #00aacc
cyan-blue) so AIS vessel markers and track lines are visually distinct from
other UI elements regardless of theme. Light theme uses a slightly darker
#0088aa for readability on the map.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-03-10 19:34:19 +01:00
parent a62997d6ce
commit 6a755ef2b4
2 changed files with 3 additions and 1 deletions
@@ -5014,7 +5014,7 @@ function syncSelectedAisTrackVisibility() {
}
function getAisAccentColor() {
return getComputedStyle(document.documentElement).getPropertyValue("--accent-red").trim() || "#ff7559";
return getComputedStyle(document.documentElement).getPropertyValue("--ais-accent").trim() || "#00aacc";
}
function aisMarkerOptionsFromMessage(msg) {