Dark mode in a website with CSS
I love dark mode as a user, but as a developer it terrifies me how much complexity is involved in programming in 2019. At a stroke, it doubles the number of possible combinations of:- 2 device sizes: desktop vs mobile (e.g. responsive)- 3 platforms: web vs iOS vs Android, or web vs Windows vs macOS vs Linux (not even counting cross-browser or OS version quirks), or god forbid all of the above- 2 input methods: hover/click/drag vs tap/hold/swipe- 2 modes for accessibility: full visual+audio vs screenreader/captioned- And now 2 visual modes: light vs darkThat's 48 combinations to design and test for. I'm probably forgetting some too. But as a developer it makes just the baseline cost of any basic app so damned high.Again, as a user I love it. But the entrance cost for entrepreneurs, or even hobbyists? Man oh man.