summaryrefslogtreecommitdiff
path: root/src/style
diff options
context:
space:
mode:
Diffstat (limited to 'src/style')
-rw-r--r--src/style/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/style/mod.rs b/src/style/mod.rs
index 9cf2de07..4588163b 100644
--- a/src/style/mod.rs
+++ b/src/style/mod.rs
@@ -71,6 +71,8 @@ pub struct PageStyle {
/// The amount of white space on each side of the page. If a side is set to
/// `None`, the default for the paper class is used.
pub margins: Sides<Option<Linear>>,
+ /// The background fill of the page.
+ pub fill: Option<Paint>,
}
impl PageStyle {
@@ -93,6 +95,7 @@ impl Default for PageStyle {
class: paper.class(),
size: paper.size(),
margins: Sides::splat(None),
+ fill: None,
}
}
}