From f36b23552ca68b2f5e9b1b18c727ba2aafc8af40 Mon Sep 17 00:00:00 2001 From: servostar Date: Mon, 11 Nov 2024 14:37:16 +0100 Subject: [PATCH] feat: add option to remove ABB image (s#62) --- src/conf.typ | 3 ++- src/style.typ | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/conf.typ b/src/conf.typ index dea9e63..75f9235 100644 --- a/src/conf.typ +++ b/src/conf.typ @@ -47,7 +47,8 @@ header: ( content-padding: 1.5em, underline-top-padding: 0pt, - logo-height: 3em), + logo-height: 3em, + logo-image: "res/ABB.svg"), footer: ( content-padding: 1.5em), page: ( diff --git a/src/style.typ b/src/style.typ index fa41677..92a171e 100644 --- a/src/style.typ +++ b/src/style.typ @@ -300,7 +300,7 @@ // we need two, so make both half the page width columns: (50%, 50%), // left align logo of ABB - align(left, image("res/ABB.svg", height: style.header.logo-height)), + align(left, image(style.header.logo-image, height: style.header.logo-height)), // right align logo of DHBW align(right, image("res/DHBW.svg", height: style.header.logo-height)))