Auto dark mode?

It would be great if the dark mode and light mode could automatically change based on the device like chrome has a “default” option. (ANDROID)