Automatic dark mode picks wrong logo unless correct colour palette is selected manually

Maybe related to this? Some themes on Meta look too similar suddenly? - #10 by david