Dark mode ? (how to)

HI everyone, do we have any information on how to make Dark mode possible.
Except from making formulas for the colors, is there any way to make it automatic depending on if the smartphone has dark mode enabled?
Also if there is no such variable, is there any way to make it known to the device, because on iphones (and other devices), the battery logo, the time ect are normally black but when you make the background black they hide. on the other hand, when other apps like Instagram are in dark mode these info (battery timeā€¦) are white.
I hope you understand.
If you have any info feel free to help! Thanks