Colours in PDFDocument

That’s fairly easy to do via CSS as I understand it, which is poorly and not at all. :slight_smile:

Yes, swapping images with HTML / CSS is easy, in Safari anyway:

	<source srcset="../ImagesDark/TheGrid.png" media="(prefers-color-scheme: dark)">
    <img src="../Images/TheGrid.png" width="787">

The HTML picture tag contains an img tag that shows for light mode. the source tag with a second image and a media tag targets dark mode.