Sfoglia il codice sorgente

fix: ghost dot color #FFE500 -> #FFEE00

neyrogovnarik 1 mese fa
parent
commit
370a9d4def
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      frontend/src/lib/map.ts

+ 2 - 2
frontend/src/lib/map.ts

@@ -27,12 +27,12 @@ const MARKER_COLORS: Record<string, string> = {
 
 function createIcon(type: string, size: number, ghost?: boolean): L.DivIcon {
   const color = ghost
-    ? 'radial-gradient(circle, rgba(255, 229, 0, 0.8) 0%, rgba(255, 229, 0, 0) 75%)'
+    ? 'radial-gradient(circle, rgba(255, 238, 0, 0.8) 0%, rgba(255, 238, 0, 0) 75%)'
     : MARKER_COLORS[type] || '#3b82f6'
 
   if (type === 'location') {
     const locStyle = ghost
-      ? `width:10px;height:10px;background:radial-gradient(circle, rgba(255, 229, 0, 0.8) 0%, rgba(255, 229, 0, 0) 75%);border-radius:50%`
+      ? `width:10px;height:10px;background:radial-gradient(circle, rgba(255, 238, 0, 0.8) 0%, rgba(255, 238, 0, 0) 75%);border-radius:50%`
       : `width:12px;height:12px;background:#3b82f6;border-radius:50%;border:3px solid white;box-shadow:0 0 0 4px rgba(59,130,246,0.3)`
     const s = ghost ? 10 : 20
     return L.divIcon({