Export to PDF Changes Obsidian Base Theme to Dark

I use a custom light theme in obsidian (solarized). When I export a document as PDF the base theme changed to dark even thought the preference was still set on light. I had to change it to dark and then light to restore the light theme.

I am using Version 0.11.3 on Big Sur.


contact the theme author.

Sorry I should have tested a bit better and been clearer. I simplified it a bit.

Using the default settings with no custom theme, but with the Light base theme, when I export to pdf the theme for Obsidian switches to dark.

I can’t reproduce your problem. Can you post a screen recording with default css and no third party plugins?

Ah, so doing that - clean vault - I can’t reproduce either.

OK, I will attempt to isolate the cause and contact the plugin author.