Code-for-All / lockdown

Project Lockdown (an initiative from The IO Foundation) is a civic tech, interactive platform providing an overview of the state of Human and Digital Rights around the globe. It evaluates policies obtained from high quality sources that may impact their observance. It provides, among other tools, a layered map interface that allows for a visual representation of the policies adopted, assisting a broad range of stakeholders in understanding the global state of their Rights. This empowers them to become active agents of global change.
https://ProjectLockdown.world
Apache License 2.0
28 stars 30 forks source link

Improve contrast for country and state labels and border lines #266

Closed planemad closed 4 years ago

planemad commented 4 years ago

Before

Screen Shot 2020-05-13 at 7 37 03 PM

After

Screen Shot 2020-05-13 at 7 37 22 PM

cc @aherreDev @JFQueralt

netlify[bot] commented 4 years ago

Deploy request for zen-joliot-eeb856 pending review.

Review with commit af1dafdecade58958166c9066670e2dfaab840e8

https://app.netlify.com/sites/zen-joliot-eeb856/deploys

planemad commented 4 years ago

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');

Screen Shot 2020-05-13 at 7 48 59 PM
planemad commented 4 years ago

Another enhancement:

Screen Shot 2020-05-13 at 8 10 48 PM
planemad commented 4 years ago

For future reference:

planemad commented 4 years ago

Made water color grey based on feedback

Screen Shot 2020-05-14 at 3 02 30 PM Screen Shot 2020-05-14 at 2 56 47 PM
planemad commented 4 years ago

Use palette color '#e0e0e0' for the water.

Screen Shot 2020-05-14 at 10 50 52 PM

cc @petrajaaskelainen

petrajaaskelainen commented 4 years ago

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

planemad commented 4 years ago

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.

petrajaaskelainen commented 4 years ago

Ah, ok! I just saw the comment above regarding it so commented on that - but so you know :)

aherreDev commented 4 years ago

Let's do the merge