Merge pull request #54 from DeveloperPaul123/feature/add-font-input

Add font input for resume and coverletter
This commit is contained in:
Paul T
2024-08-17 23:30:57 -04:00
committed by GitHub
3 changed files with 16 additions and 2 deletions

View File

@@ -147,6 +147,7 @@
accent-color: default-accent-color, accent-color: default-accent-color,
colored-headers: true, colored-headers: true,
language: "en", language: "en",
font: ("Source Sans Pro", "Source Sans 3"),
body, body,
) = { ) = {
if type(accent-color) == "string" { if type(accent-color) == "string" {
@@ -161,7 +162,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,
@@ -481,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" {
@@ -496,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: (

View File

@@ -54,6 +54,17 @@
- #lorem(25) - #lorem(25)
] ]
#resume-entry(
title: "Intern",
location: "Example City, EX",
)
#resume-item[
- #lorem(20)
- #lorem(15)
- #lorem(25)
]
= Projects = Projects
#resume-entry( #resume-entry(