In Pie, if you have a dark theme, everything is supposed to be dark (a few apps don't follow that, but most do).
I had same problem and it was the dark theme I was using, it wasn't really compatible and it also disabled the dark mode in Pie.
I actually liked it better before but themes might get updated by developers