Driving mode ("Drive": big buttons — follow, zoom, 2D/3D, night, route overview — the sidebar hidden); palettes instead of the inversion (the UI's greys onto --ui-*, MapLibre's controls too, night → Night, new ◑ Dusk); the navigated route magenta, the driven part dimmed; route progress only forward (locate near the last position first); rerouting on the server off its own GNSS (TripStore#follow), the browser's only without the shared trip; the overview map hidden while following in 3D; the topbar's items apart
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 17s

This commit is contained in:
randy committed 2026-12-01 01:44:54 +01:00
1 parent 12b4ac6725
commit 07a4d363ec
13 files changed
+520 -219

No files matched your search

+9 -4
View File
@@ -86,10 +86,15 @@ Our night values are roughly a third of Day's luminance, warm greys, blue
kept low; no white areas (the speed limit sign dims too). The map has its
own night palette (`NightMap`, `map_themes.js`); a Dusk map is still to do.
Today the page's night mode inverts the whole UI (`html.night`, the
instruments inverted back). The palettes replace that: set the
`data-palette`, by the sun (already worked out for the night mode) or by
hand.
The night mode sets the palette (`map.js`): automatic by the sun or on →
Night (with the night map), "◑" → Dusk over the day map, off → Day. The
planning UI's greys are the `--ui-*` tokens (`--ui-bg`, `--ui-bg-2` for
hover and fills, `--ui-line`, `--ui-fg`, `--ui-muted`); MapLibre's own
controls and popups take them too.
The driving mode (`driving.js`, "Drive" in the topbar) is the cockpit's
input side: big band-black buttons down the map's left — follow, zoom,
2D/3D, night, the route overview — and the planning sidebar hidden.
== Typography