How to change image on Picture Elements Card depending on HA dark mode?

How to change image on Picture Elements Card depending on dark mode? Can I get somehow dark mode sensor?

3 Likes