feat: switch to open sans, use better GH link

This commit is contained in:
eggy
2023-10-21 01:11:06 -04:00
parent 10b693878f
commit 5a5890d7f1
2 changed files with 10 additions and 13 deletions

15
lib.typ
View File

@@ -1,10 +1,4 @@
#import "fontawesome.typ": github, fa
// Reduce space between paragraphs.
#let par_space = 0.75em
// Reduce space between headings and descriptions.
#let sep_space = par_space + 0.1em
#let subtitle_space = par_space - 0.2em
// Format start and end dates.
#let format_date(start_date: none, end_date: none) = {
@@ -115,12 +109,15 @@
// Set name and contact data and format headings
#let template(name, contact_data, color, doc) = {
let TITLE_FONT = "Bitter"
let HEADING_FONT = "Bitter"
let BODY_FONT = "Open Sans"
set page(margin: (rest: 0.5in, top: 0.4in), paper: "us-letter")
set list(indent: 1.25em)
set text(font: ("Latin Modern Sans"), 11pt)
set text(font: (BODY_FONT), 10pt)
set par(justify: true, leading: 0.65em)
align(center)[
#text(size: 2em, font: "Bitter", fill: color)[*#name*]
#text(size: 2em, font: TITLE_FONT, fill: color)[*#name*]
#block(above: 0em, below: 1em)
#{
if contact_data != none and contact_data.len() > 0 {
@@ -145,7 +142,7 @@
// add line to right of heading
set block(above: 1em, below: 0.75em)
set text(size: 0.9em, fill: color, font: "Bitter")
set text(size: 0.9em, fill: color, font: HEADING_FONT)
stack(
dir: ltr,
spacing: 3mm,