Blank PDF export in night mode

Hello, I created a markdown page with only text. I exported as PDF but I get a blank pdf. The obsidian output is:
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2024-01-10 07:47:41 Loading main app package /snap/obsidian/22/resources/obsidian.asar
2024-01-10 07:47:41 Checking for update using Github
2024-01-10 07:47:41 Success.
2024-01-10 07:47:41 Latest version is 1.5.3
2024-01-10 07:47:41 App is up to date.
[10534:0110/084745.086720:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[10534:0110/084750.278342:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[10534:0110/084759.878272:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
Saving PDF…
Done.

I’m running a ubuntu 22.04. Might be interesting to consider that I have night mode on, in light them the pdf is exported correctly.
Thank you,

Please follow and include the bug report template when submitting bug reports. Thanks.