Most people that I know that prefer dark mode (myself included) prefer it regardless of sunlight or ambient lighting.
The average monitor has a brightness level equivalent to screaming in a study room, and a color calibration that assumes fluorescent office lighting.
At a certain point, white text on black just isn’t readable but the inverse is somehow.