I recall the argument for a dark theme in editors/IDEs was to make it visually easier to see color differences in code syntax. With a white background, the white light competes with the colors. Where as if you're reading an article on the web, you'll really just need to discern the text and not so much the color.