Adaptive dark mode

It would be nice to have an automatic dark mode instead of a toggle in the options.

It could follow certain time rules or maybe system settings just like the theme option already does.