Hey, I want to frequently export my Obsidian Notes to PDFs but a problem occured.
When I export the file to a pdf, it exports it in Light mode, eventhough I use the dark mode (current theme: Yin and Yan).
Therefore, I tried to change the background color and the font color manually to get the expected results. For the background color, I used a custom css snipped with the content:
@media print { .print .markdown-preview-view { -webkit-print-color-adjust: exact; background-color:#0A0D10; }
and it worked out fine. Now I am searching my way around the black font color, because a black font isn’t visibile on a black background.
Does anyone has an idea for a custom css snipped or a more elegant solution?
Thank you all in advance.