It's controlled by the light sensor in the center of the dashboard just behind the windshield. Throw something on it to block it and you'll see what I mean.
I tried this as an experiment, throwing my hat over the sensor. Sure enough, the screen went into dark mode. But when I took the hat off, it stayed in dark mode for several minutes. I suppose that is because they don't want you getting tossed out of dark mode every time oncoming headlights, or overhead street lamps, shine on your windshield.It's controlled by the light sensor in the center of the dashboard just behind the windshield. Throw something on it to block it and you'll see what I mean.