mirror of
https://github.com/root-fr/jmap-webmail.git
synced 2026-10-04 16:00:34 +00:00
Chrome defaults the "Background graphics" toggle off, so dark-mode backgrounds don't print. The light-on-dark text of the viewer then prints as white text on white paper — the page is blank. Override the printed subtree with black text on a transparent backdrop (and a single white backdrop on the root container), and keep links in their conventional print blue. The dark mode of the app no longer needs to leak into the printed document. Verified in a headless print run with backgrounds off: a short message prints as exactly one readable page.