summaryrefslogtreecommitdiff
path: root/gerbonara/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/utils.py')
-rw-r--r--gerbonara/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gerbonara/utils.py b/gerbonara/utils.py
index e2587fa..c7336e6 100644
--- a/gerbonara/utils.py
+++ b/gerbonara/utils.py
@@ -523,6 +523,7 @@ def setup_svg(tags, bounds, margin=0, arg_unit=MM, svg_unit=MM, pagecolor='white
return tag('svg', tags,
width=f'{w}{svg_unit}', height=f'{h}{svg_unit}',
viewBox=f'{min_x} {min_y} {w} {h}',
+ style=f'background-color:{pagecolor}',
**namespaces,
root=True)