diff options
author | jaseg <git@jaseg.de> | 2023-07-22 14:25:18 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-07-22 14:25:18 +0200 |
commit | ba4cafa3a43f3b6655e2cbfbc35d2505f0efccb1 (patch) | |
tree | 02a9314496f8a90d3e5a9d83fe86bbc2281c5c5f /gerbonara/utils.py | |
parent | 2f0a21abf937f97c4b1fd10a6574e53ddcd4d7cf (diff) | |
download | gerbonara-ba4cafa3a43f3b6655e2cbfbc35d2505f0efccb1.tar.gz gerbonara-ba4cafa3a43f3b6655e2cbfbc35d2505f0efccb1.tar.bz2 gerbonara-ba4cafa3a43f3b6655e2cbfbc35d2505f0efccb1.zip |
Add tmtheme support
Diffstat (limited to 'gerbonara/utils.py')
-rw-r--r-- | gerbonara/utils.py | 1 |
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) |