obsidian-slide-note icon indicating copy to clipboard operation
obsidian-slide-note copied to clipboard

Invert render colors

Open Opisek opened this issue 1 year ago • 2 comments

The "Minimal" theme for Obsidian offers the functionality of inverting the lightness of the colors in obsidian's PDF viewer depending on the the mode (light/dark) used.

I would love to see this as an option here as well! A toggle that, when checked, would render the PDF pages with inverted color lightness if a dark theme is used, otherwise continue as normal. It's important that only the lightness of the colors is inverted, so for example red remains red and blue remains blue.

Opisek avatar Jun 19 '24 14:06 Opisek

Thanks for the reply, I will try to add this feature in the next version, thanks.

Phantom1003 avatar Jan 13 '25 16:01 Phantom1003

Here's the CSS I use for doing just that with the PDF live preview:

https://github.com/Opisek/obsidian-tranquil/blob/6b0bc5b2fba29abc53ca32b3ae4ba338c18b2ed1/theme.css#L69

Perhaps that can be helpful.

Opisek avatar Feb 09 '25 11:02 Opisek