mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
issue: PDF download from notes list does not apply dark mode styling #6736
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zolgear on GitHub (Oct 23, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.34
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04.3
Browser (if applicable)
Chrome 141.0
Confirmation
README.md.Expected Behavior
refs: v0.6.33 Release Note
With v0.6.33, PDF downloads work correctly in dark mode as well—thank you!
However, I noticed that if you download a note directly from the list, without opening it, dark mode detection does not occur, so the generated PDF still has a white background with gray text as before.
I wanted to report this.
Actual Behavior
When downloading a PDF from the notes list (notes/Notes.svelte) via downloadPdf, the text appears gray in dark theme mode.
Steps to Reproduce
notes/Notes.svelte).downloadPdf) for any note.Logs & Screenshots
Additional Information
No response
@silentoplayz commented on GitHub (Oct 23, 2025):
I confirm this issue and have verified that I am able to reproduce it on the
devbranch, using the latest commit.I've also noticed that the note's title is missing from the downloaded .PDF file of the note with your reproduction steps.
The following error is thrown TWICE in the browser console using Mozilla Firefox for Snap on Ubuntu 24.0.4 LTS when I click on the
PDF document (.pdf)button via the reproduction steps provided:In contrast, if I click on the note and THEN download it as a PDF, the PDF file downloaded looks to be what is expected.
@acomarcho commented on GitHub (Oct 31, 2025):
Hi, I tried to create a fix for this. I attached a screen recording of the fix in the PR. Thank you!
@tjbck commented on GitHub (Nov 3, 2025):
Addressed in dev!