Go to Settings > Display, then tap the Advanced drop-down menu at the bottom of the page. From there, tap Device theme , then simply tap Dark from the pop-up dialog box. From there, simply pull down your quick settings area and you’ll see the new white text and dark gray aesthetic.
Thank you. I know how to change the themes but I’m talking about adding a feature that does it automatically. One of the ways that this could work out is by checking the ambient light that the phone is exposed to then the app would know by using this sensors if is night time or day time. There are dozens of apps that works this way tha I’ve just said.