Closed planemad closed 4 years ago
Deploy request for zen-joliot-eeb856 pending review.
Review with commit af1dafdecade58958166c9066670e2dfaab840e8
If we want to support dark mode on the map, the simplest way would be to change the color of water from white to something dark
map.setPaintProperty('water','fill-color','#444');
Another enhancement:
For future reference:
jfqueralt
Mapbox account, i created a new monochrome light style in Mapbox Studio to get a sense of the layers available for styling. Alternatively one can also get this by using map.getStyle().layers
in the web dev JS console.Made water color grey based on feedback
Use palette color '#e0e0e0' for the water.
cc @petrajaaskelainen
If you want to use the different color for the water on dark mode, you can use #4F4F4F - it is currently the darkest shade after #333 in our visual identity design
If you want to use the different color for the water on dark mode, you can use #4F4F4F - it is currently the darkest shade after #333 in our visual identity design
@petrajaaskelainen this PR does not implement any changes for dark mode, that would touch a different part of the code which triggers the dark mode and is best implemented seperately.
Ah, ok! I just saw the comment above regarding it so commented on that - but so you know :)
Let's do the merge
selectedWorldview
to easily control the boundary version for disputed areas in future. Ref: https://docs.mapbox.com/vector-tiles/reference/mapbox-boundaries-v3/#--polygon---worldview-textBefore
After
cc @aherreDev @JFQueralt