Dark mode: am I inversing the lightness scale around the midpoint or sliding the scale to preserve sibling elements’ lightness relative to each other? [migrated]
![Dark mode: am I inversing the lightness scale around the midpoint or sliding the scale to preserve sibling elements' lightness relative to each other? [migrated]](https://uxsharelab.com/wp-content/themes/proxima/images/thumbnail-placeholder.gif)
For context, I’m using Tailwind CSS which has a lightness scale for its colors of 100-900, with 100 being the lightest and 900 being the darkest.
I also designed my app for dark mode first.
Let’s take the sidebar and main content area as a…
share this post : )
Burger menu with dark mode for responsive web

I am trying to make a website with light and dark modes. On small screens I am using a hamburger menu. When I click outside the hamburger menu it closes, to indicate it I change the opacity and in the light mode it looks good but in the da…