feat: add font input for coverletter

This commit is contained in:
Paul Tsouchlos
2024-08-17 23:28:01 -04:00
parent f6f1e6f019
commit b661a92801
2 changed files with 3 additions and 1 deletions

View File

@@ -482,6 +482,7 @@
date: datetime.today().display("[month repr:long] [day], [year]"),
accent-color: default-accent-color,
language: "en",
font: ("Source Sans Pro", "Source Sans 3"),
body,
) = {
if type(accent-color) == "string" {
@@ -497,7 +498,7 @@
)
set text(
font: ("Source Sans Pro", "Source Sans 3"),
font: font,
lang: language,
size: 11pt,
fill: color-darkgray,