Dark mode after sunset, light mode after sunrise, obviously. Just as nature intended.
But not all of us are working in the open air office... Brightly lit office after 5pm in winter (ie after sunset) doesn't mean dark mode is the best option.
This but with a bit more flexibility depending on the state of ambient light. On a gloomy winter day at 51°N I often want dark mode all day.
The article didn’t go into this, but I suspect that a large part of the dark mode trend is due to evening/night computer use. If you don’t light your room, the screen is the only light source which is unpleasant.