This discussion is not new:
The best answer in this thread:
"The answer is a matter of contrasts and real-world usage.
The general rule of thumb is that you should read dark text on white background during the day or bright rooms, and white text on dark background at nighttime.
As the other poster mentioned, this is due to how your eyes are already adjusted in the room you’re in. It’s the difference that hurts your eyes(bright white screen at night, or trying to read a very dark screen in sunlight."
Then I would like to have a theme that automatically adapts to the outside light