Making and using a modern solar panel emits up to 44 grams of CO2 equivalent greenhouse gas per kWh over its lifetime as opposed to up to 1000 grams for fossil fuel generators.
Hopefully more people start realizing this. It's been happening behind the scenes for way too long, but now it's out in the open, they don't care about hiding it anymore.