Display different image depending on theme

I use Logeq to prepare digital learning books for my classes.

I use LogSeq in Darkmode, but my students use it in Lightmode.

I already created many graphics (e.g. with drawio) to explain certain topics and used transparent forms. Drawio supports exporting images in light and darkmode. By their nature, darkmode images are optimized for darkmode backgrounds and are illegible in light mode (white lines and forms do not stand out well on a white background ^^) The same holds vice versa for lightmode images.

Since I cannot control in which mode my students read the pages - is there any way to display a different image depending on the mode Lq is using?