#2494·quartz

[No access to Discord] *Is there* a way to flag an image/svg to be inverted for dark mode?

Author: skelobonesCreated Jul 23, 2026Updated Aug 25, 2026
Labelsenhancement

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Situation; I would like to have specific images or vectors invert their colours in dark mode. I want to create positive/negative diagrams that adjust to dark mode.

Describe the solution you'd like

  • To be able to flag an individual image as "invertDark" in Obsidian to flag it as a vector or image to apply an invert filter when in dark mode? [[diagram.svg|invert]] or something similar to [[diagram.png|300|darkInvert=true]]
  • To be able to flag a vector as binaryColor, causing it to render will all strokes as the dark color class and all infill as darkGray class (or something along those lines) i.e., [[diagram.svg|500|binaryColor=true]]

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. I am unsure if a solution exists for this problem already. I haven't tried to find a solution to this problem. Off the top of my head, I know there's desktopOnly and mobileOnly functions(? components? Insert correct terminology) but I don't know of any darkOnly or lightOnly.

Additional context Add any other context or screenshots about the feature request here. I believe context has been fulfilled. "I have spoken" - that ranch guy from mandolorian