oz-image-in-editor-obsidian icon indicating copy to clipboard operation
oz-image-in-editor-obsidian copied to clipboard

Request for disabling invert for PDF export

Open Sandwich1699975 opened this issue 2 years ago • 0 comments

As I use dark mode for obsidian, and light mode for PDF; I would like to be able to disable invert when exporting to PDF. So my images are not black on white paper. Example:

/* PDF Styles */

@media print {
    .theme-dark img[alt$='#invert'] {
        /* Fix invert for images */
        filter: invert(0) hue-rotate(360deg);
    }
}

This worked for me for a bit, but not any more. A settings toggle, or automatic disable would be amazing.

Thank you

Sandwich1699975 avatar Mar 13 '22 04:03 Sandwich1699975