[fix](trx-frontend-http): AIS map markers use scheme lead color (--accent-green)

Use --accent-green (the primary/lead accent color) for AIS vessel markers and
tracks instead of a hardcoded or red-based color, so they match the active
buttons and other prominent UI elements for every color scheme.

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:37:15 +01:00
parent 6a755ef2b4
commit 81515d921e
2 changed files with 1 additions and 3 deletions
@@ -5014,7 +5014,7 @@ function syncSelectedAisTrackVisibility() {
}
function getAisAccentColor() {
return getComputedStyle(document.documentElement).getPropertyValue("--ais-accent").trim() || "#00aacc";
return getComputedStyle(document.documentElement).getPropertyValue("--accent-green").trim() || "#c24b1a";
}
function aisMarkerOptionsFromMessage(msg) {