For me both must coexist. The time light allows me to be able to see the development environment and the elements in situations when there is a lot of light (even if the monitor is anti-glare the light theme is better), while when the light decreases the dark theme does not "shoot a blinding light".