diff --git a/apps/planner/app/components/ColoredRoute.tsx b/apps/planner/app/components/ColoredRoute.tsx index c8b8f36..ea2b026 100644 --- a/apps/planner/app/components/ColoredRoute.tsx +++ b/apps/planner/app/components/ColoredRoute.tsx @@ -104,11 +104,11 @@ const CYCLEWAY_COLORS: Record = { const DEFAULT_CYCLEWAY_COLOR = "#9ca3af"; const BIKEROUTE_COLORS: Record = { - icn: "#dc2626", - ncn: "#f97316", - rcn: "#eab308", - lcn: "#22c55e", - none: "#d4d4d8", + icn: "#7c3aed", // purple — international + ncn: "#2563eb", // blue — national + rcn: "#0891b2", // teal — regional + lcn: "#059669", // emerald — local + none: "#d4d4d8", // gray — no route }; const DEFAULT_BIKEROUTE_COLOR = "#d4d4d8"; diff --git a/apps/planner/app/components/ElevationChart.tsx b/apps/planner/app/components/ElevationChart.tsx index 6d60b66..b7cd549 100644 --- a/apps/planner/app/components/ElevationChart.tsx +++ b/apps/planner/app/components/ElevationChart.tsx @@ -517,7 +517,8 @@ export function ElevationChart({ yjs, onHover, days }: ElevationChartProps) { label += ` · ${cycleways[highlightIdx]}`; } if (colorMode === "bikeroute" && bikeroutes[highlightIdx]) { - label += ` · ${bikeroutes[highlightIdx]}`; + const names: Record = { icn: "International", ncn: "National", rcn: "Regional", lcn: "Local", none: "None" }; + label += ` · ${names[bikeroutes[highlightIdx]!] ?? bikeroutes[highlightIdx]}`; } const labelX = hx + 8 > w - 80 ? hx - 8 : hx + 8; ctx.textAlign = hx + 8 > w - 80 ? "right" : "left"; @@ -675,11 +676,11 @@ export function ElevationChart({ yjs, onHover, days }: ElevationChartProps) { {[...new Set(cycleways)].length > 6 && +{[...new Set(cycleways)].length - 6}} )} {colorMode === "bikeroute" && (<> - icn - ncn - rcn - lcn - none + International + National + Regional + Local + None )}