@media prefers-color-scheme

This is native CSS media function to determine selected color scheme of user's operating system.