Replies: 3 comments 2 replies
-
The reason is probably because PDFs by default are also white. However, if you do something like |
Beta Was this translation helpful? Give feedback.
-
In addition to what @LaurenzV said, the |
Beta Was this translation helpful? Give feedback.
-
With @laurmaedje 's argument in mind, I would argue that it doesn't actually make sense to allow inputting background colors via CLI argument: I can imagine someone expecting to be able to put sth. like I'd rather just add a |
Beta Was this translation helpful? Give feedback.
-
When using the CLI to export to PNG, the background is always filled with
Color::WHITE
:typst/crates/typst-cli/src/compile.rs
Line 279 in 72dd792
I'd expect the background to be filled with the
#page(fill: "...")
color. Is there a reason for the white background, or does it make sense to open a PR?Beta Was this translation helpful? Give feedback.
All reactions