3.4 KiB
Design: the park brochure and the cockpit
MapTool has two jobs with two moods, and a style for each:
-
Planning, dreaming, remembering — the map, the library, the trip, the search: the NPS look. Warm Park Tiles cartography (
map_themes.js), the brochures and their symbols (docs/nps-resources.adoc), the olive accent. -
Driving — whatever the driver glances at: the dashboard, the next maneuver, the speed limit, the switch panel, warnings: the cockpit look. Avionics (PFD/MFD) and chartplotters: displays over a bus, dark bezel, big numbers, no decoration, colors that always mean the same.
They aren’t two designs bolted together: the NPS brochures are Massimo
Vignelli’s Unigrid (1977) — a strict grid, a black band with a white
sans-serif title, lots of white space, few colors. That’s the same
modernist restraint as a glass cockpit. The black band is the shared
element: the topbar (#1a1a1a) is the brochure’s band, the instruments'
bezel is the same black.
Colors
Defined once as custom properties on :root (public/css/style.css);
nothing outside them for these meanings.
Planning (NPS)
| Token | Value | Use |
|---|---|---|
|
|
active items, selected options, primary buttons (NPS boundary olive) |
|
|
their light background (sage) |
|
|
the Unigrid black band: the topbar, panel headers, and the instruments' bezel |
The map’s own colors are Park Tiles' (map_themes.js), not tokens.
Instruments (cockpit)
Each color has one meaning, as in avionics — so a glance is enough and a color never decorates.
| Token | Value | Means |
|---|---|---|
|
|
the instrument’s background |
|
|
values |
|
|
labels, scales, what’s inactive |
|
|
normal, engaged (a switch on, a node alive) |
|
|
attention: past a soft limit (roll > 20°), off the route, a stale signal |
|
|
act now: over the speed limit, past a hard limit, a fault |
|
|
magenta: the active route and the next waypoint / maneuver / lane to take — the avionics convention for what navigation is following |
|
|
cyan: a value you set yourself (a speed bug, the camper’s own limit, a chosen target) |
Road signs stay road signs: the speed limit is the white disc with the red ring whatever the theme — it’s read as a sign, not as a color.
Night: the page’s night mode inverts the UI (html.night); the
instruments are already dark and are inverted back, only dimmed.
Typography
-
Planning UI: the system sans; National Park (the router-carved signage face) only for the wordmark and, later, headings in the black band — the brochure’s title.
-
Instruments: the system sans with tabular figures (
font-variant-numeric: tabular-nums), bold values, small uppercase labels with letter-spacing — numbers that don’t jitter as they change.
Which surface is which
| NPS (planning) | Cockpit (driving) |
|---|---|
the map and its layers, the library, the trip / itinerary, search, the route panel, NPS maps, the offline data panel |
the dashboard (inclinometer, speed, limit, ahead), the navigation strip
(next maneuver, lanes), the switch panel (PDM), warnings, |
The route line is the bridge: blue (#1d6fdc) while planning, magenta
(--inst-active) once it’s being navigated.