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

View File

@@ -17,6 +17,7 @@
), ),
profile-picture: image("./profile.png"), profile-picture: image("./profile.png"),
language: "en", language: "en",
font: "Times New Roman"
) )
#hiring-entity-info(entity-info: ( #hiring-entity-info(entity-info: (