From d45c34c82e005ff9d3c90c7413e7ab9714da3f1b Mon Sep 17 00:00:00 2001 From: eggy Date: Mon, 20 Jan 2025 22:31:04 -0500 Subject: [PATCH] chore: abstract size --- lib/lib.typ | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/lib.typ b/lib/lib.typ index 83839ff..3ced11a 100644 --- a/lib/lib.typ +++ b/lib/lib.typ @@ -22,6 +22,8 @@ #let DETAILS_LIST_SPACING = 0.8em #let DETAILS_LIST_INDENT = 1.5em +#let JOB_TITLE_FONT_SIZE = 1.05em + // rest = not top #let PAGE_MARGINS = (right: 0.4in, top: 0.3in, left: 0.3in, bottom: 0.4in) @@ -68,7 +70,7 @@ company_link: none, ) = { cv_entry(left_content: { - text(1.05em)[*#role*] + text(JOB_TITLE_FONT_SIZE)[*#role*] if tools != none { // text[ | _ #tools _ ] @@ -97,17 +99,17 @@ let content_title = { if text_link != none { - link(text_link)[#text(1.1em)[*#title*]] + link(text_link)[#text(JOB_TITLE_FONT_SIZE)[*#title*]] } else { - text(1.1em)[*#title*] + text(JOB_TITLE_FONT_SIZE)[*#title*] } if demo_link != none { - link(demo_link)[#text(1.1em)[ #fa(link-icon) ]] + link(demo_link)[#text(JOB_TITLE_FONT_SIZE)[ #fa(link-icon) ]] } if repo_link != none { - link(repo_link)[#text(1.1em)[ #fa(github) ]] + link(repo_link)[#text(JOB_TITLE_FONT_SIZE)[ #fa(github) ]] } [ | _ #tools _ ] }