Theme changes to dark mode after Export to PDF

Steps to reproduce

  1. From any note, click on “Export to PDF”
  2. Modal pops up showing “Preparing PDF…”
  3. Theme appearance is Dark
  4. In settings, theme is still shown as “Light”

Expected result

Currently using Mac OS 11.3, Obsidian 0.12.0. Minimal Theme, Light Theme, but this bug appears on all other themes.

If this happens in the help vault, open a new bug report and post a screen recording.
Otherwise contact the author of the themes and report the problem to them.