v0.63.0 — Fiord colors #136

Merged
kamilkrzywda merged 1 commits from feat/fiord-default-style into master 2026-09-23 10:58:14 +02:00
Owner

Closes #118

Fiord has been the default style since v0.4.0 (DEFAULT_STYLE_ID = 'fiord' in lib/mapStyles.ts, top-bar switcher, e2e pins toHaveValue('fiord')) — this PR completes the issue's second half: auditing every color drawn on the map against Fiord's actual palette and retuning what doesn't read.

Key finding: OpenFreeMap's Fiord is a dark cool-toned basemap (land #45516E slate, water #38435C navy — verified byte-identical between self-hosted public/styles/fiord.json and tiles.openfreemap.org/styles/fiord), not a light one. The issue screenshot confirms it: dominant pixels are exactly those two tones.

Audit (WCAG contrast vs both base surfaces):

Element Color vs land vs water Verdict
Airport dot fill #e11d48 → #f43f5e (rose-600→500) 1.68→2.15:1 2.10→2.69:1 changed — weakest element on the map
Hovered-route highlight #ef4444 → #f87171 (red-500→400) 2.10→2.86:1 2.63→3.57:1 changed — emphasis layer below the 3:1 graphical bar
Flying leg #f59e0b / queue line #d4a017 / grounded plane + halo #38bdf8 / flying plane #22c55e / hover ring+trace #facc15 / target ring #4ade80 unchanged ≥3.3:1 ≥4.2:1 already read fine on dark tiles (ISS-098 picked the queue gold for light+dark)

Both changes are one step brighter within the same hue family; white strokes and all other paint values untouched. No new constants — both colors are single-use inline paint values, matching this file's existing style.

Tests: no test changes needed — components/map.test.ts pins only #d4a017 (untouched), e2e queries rendered features by id/layer not color, lib/mapStyles.test.ts already pins the fiord default. Local: tsc --noEmit clean, vitest 381/381, playwright lists all 62 specs.

Closes #118 Fiord has been the default style since v0.4.0 (`DEFAULT_STYLE_ID = 'fiord'` in `lib/mapStyles.ts`, top-bar switcher, e2e pins `toHaveValue('fiord')`) — this PR completes the issue's second half: auditing every color drawn on the map against Fiord's actual palette and retuning what doesn't read. **Key finding:** OpenFreeMap's Fiord is a **dark** cool-toned basemap (land #45516E slate, water #38435C navy — verified byte-identical between self-hosted `public/styles/fiord.json` and `tiles.openfreemap.org/styles/fiord`), not a light one. The issue screenshot confirms it: dominant pixels are exactly those two tones. **Audit (WCAG contrast vs both base surfaces):** | Element | Color | vs land | vs water | Verdict | |---|---|---|---|---| | Airport dot fill | #e11d48 → **#f43f5e** (rose-600→500) | 1.68→2.15:1 | 2.10→2.69:1 | **changed** — weakest element on the map | | Hovered-route highlight | #ef4444 → **#f87171** (red-500→400) | 2.10→2.86:1 | 2.63→3.57:1 | **changed** — emphasis layer below the 3:1 graphical bar | | Flying leg #f59e0b / queue line #d4a017 / grounded plane + halo #38bdf8 / flying plane #22c55e / hover ring+trace #facc15 / target ring #4ade80 | unchanged | ≥3.3:1 | ≥4.2:1 | already read fine on dark tiles (ISS-098 picked the queue gold for light+dark) | Both changes are one step brighter within the same hue family; white strokes and all other paint values untouched. No new constants — both colors are single-use inline paint values, matching this file's existing style. **Tests:** no test changes needed — `components/map.test.ts` pins only #d4a017 (untouched), e2e queries rendered features by id/layer not color, `lib/mapStyles.test.ts` already pins the fiord default. Local: `tsc --noEmit` clean, vitest 381/381, playwright lists all 62 specs.
kamilkrzywda scheduled this pull request to auto merge when all checks succeed 2026-09-23 08:27:08 +02:00
kamilkrzywda added 1 commit 2026-09-23 10:44:14 +02:00
kamilkrzywda force-pushed feat/fiord-default-style from 799365e939 to 2b5c8541d7 2026-09-23 10:44:14 +02:00 Compare
kamilkrzywda changed title from v0.60.0 — Fiord default map style (#118) to v0.63.0 — Fiord colors 2026-09-23 10:44:18 +02:00
kamilkrzywda merged commit d7f352adcf into master 2026-09-23 10:58:14 +02:00
kamilkrzywda deleted branch feat/fiord-default-style 2026-09-23 10:58:14 +02:00
Sign in to join this conversation.