Skip to content

Improve water area label contrast - #86

Open
anaba5is wants to merge 1 commit into
OpenHistoricalMap:stagingfrom
anaba5is:fix/water-area-label-contrast
Open

anaba5is wants to merge 1 commit into
OpenHistoricalMap:stagingfrom
anaba5is:fix/water-area-label-contrast

Conversation

@anaba5is

Copy link
Copy Markdown

Summary

Use the existing high-zoom water-label color for historical water-area labels at zooms 8–14. This makes lake names easier to read against the water fill while keeping the existing label halos.

Fixes OpenHistoricalMap/issues#1467.

Verification

  • Rendered the source style before and after in Chromium with a synthetic lake at zooms 11 and 13. The label rendered in all four views. Text-to-fill contrast increased from 2.55:1 and 2.17:1 to 5.19:1, respectively.
  • npm run build and npm pack --dry-run passed. Verified the generated JSON contains both updated colors.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve water areas labels

1 participant