Export to pdf, dark theme not applied immediately

Steps to reproduce

  1. Open Sandbox Vault
  2. Set to dark theme if not already activated
  3. Export to PDF

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

The Preparing PDF page should match the dark theme as the rest of the UI

Actual result

White screen that flashes in my face :frowning:

Environment

SYSTEM INFO:
Obsidian version: v1.7.7
Installer version: v1.5.12
Operating system: Windows 10 Pro 10.0.19045
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

Video Demonstration

thanks

PDF is tied to printing, you donโ€™t want to waste all your black ink just to โ€œpaintโ€ black pages.

Probably you could buy black paper and try to print white letters on it, if something like white ink exists. And even if you could get white ink, you would need some special ink.

If you want just a PDF, then adding some rules to CSS print media should give you black pages.

The issue is not in printing, it is the fact that the user gets flashbanged with a white screen that flashes during the export process.

1 Like