From ba4cafa3a43f3b6655e2cbfbc35d2505f0efccb1 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 22 Jul 2023 14:25:18 +0200 Subject: Add tmtheme support --- gerbonara/utils.py | 1 + 1 file changed, 1 insertion(+) (limited to 'gerbonara/utils.py') 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) -- cgit