I use Waze and Google Maps in dark mode on Apple CarPlay. Since the latest update for these apps, both are showing in light mode on CarPlay, even though they are still showing in dark mode on the iPhone. The apps supposedly turn to dark mode when the car’s sensor turns on automatic lights, but this seams to work only for some users. There are multiple complaints about Waze and Google Maps becoming unusable during night with CarPlay screen blinding the driver.
Until Google releases a fix, do not update Waze and Maps apps. I’ll post back when the bug is fixed by Google.