primary-theme / obsidian

Comfy, playful but productive theme for Obsidian. "Primary instantly puts you in a relaxed state that opens the door to creativity and exploration. Wonderfully executed down to the smallest details,"
GNU General Public License v3.0
848 stars 38 forks source link

Export to PDF has light grey texts #65

Open raghudaw opened 2 years ago

raghudaw commented 2 years ago

I am using Montserrat for my previews and when exporting as PDF everything is in Grey shade. Titles are in mildly dark grey and the rest is in light grey. image

ceciliamay commented 2 years ago

Hey there @raghudaw ! Although PDF Export is still not supported (but it is on the roadmap!), it definitely shouldn't be a light grey shade. Could you try reinstalling the theme to see if there would be any changes? Or maybe check if you have a snippet conflicting with it or a plugin? Let me know if any of these work!

QuantumSno commented 2 years ago

I was having the same issue. I tried re-installing everything, but its the same issue regardless. I grabbed a couple screenshots to show off the issue.

Here is an export in light mode: image

And one in dark mode: image

Color of text on the exported dark mode document: image

And color sample from inside obsidian: image

Both of these are with the style settings plugin, although the issue remains regardless.

When it exports I think it takes the current color of elements, then just prints them onto a white page. Unfortunately that means the white(ish) text gets printed onto a white background which is where this gray effect comes from.

Not a developer so idk the solution here, but hopefully this gives you some clue to how this could be fixed.

ceciliamay commented 2 years ago

Thank you so much for all the infos posted!! I'll bump up the priority for this one and see what I can do.

rashwell commented 2 years ago

Just a comment I keep updating my Primary theme and this is already getting better. The contrast now seems adequate and no real issues even if I can't understand how you are succeeding, or what changed. With I think 1 exception that I can see remaining Dark Mode export to PDF is readable now except for inside table cells.
image

ceciliamay commented 3 months ago

Related #62