If you mean glare as the screen being overly bright, I use an app to turn brightness down at night.
If you mean the sun's reflection, I'm unconvinced that the theme has any effect.
If you mean just overall badness for eyes, I'm not aware of any science supporting that, I'd think eye strain it's included in readability studies, but I can't be bothered to check.