Make it orange #1

Merged
eggy merged 8 commits from feat/orange into master 2023-10-21 15:06:09 -04:00
2 changed files with 10 additions and 5 deletions
Showing only changes of commit cbfc7214a0 - Show all commits

View File

@ -1,9 +1,8 @@
#import "fontawesome.typ": * #import "fontawesome.typ": *
#import "lib.typ": template, education_entry, work_entry, project, indent #import "lib.typ": template, education_entry, work_entry, project, indent, SMALL_STRONG, DEFAULT_STRONG
#set page(margin: 1.75in) #set page(margin: 1.75in)
#set par(leading: 0.5em, first-line-indent: 1.8em, justify: true) #set par(leading: 0.5em, first-line-indent: 1.8em, justify: true)
#show raw: set text(font: "New Computer Modern Mono")
#show par: set block(spacing: 0.55em) #show par: set block(spacing: 0.55em)
#show heading: set block(above: 2em, below: 1em) #show heading: set block(above: 2em, below: 1em)
@ -84,7 +83,7 @@
] ]
= Projects = Projects
#set strong(delta: 200) #set strong(delta: SMALL_STRONG)
#indent[ #indent[
#project("Mandown Comic Converter", "https://github.com/potatoeggy/mandown", "Python, Qt") #project("Mandown Comic Converter", "https://github.com/potatoeggy/mandown", "Python, Qt")

10
lib.typ
View File

@ -1,5 +1,8 @@
#import "fontawesome.typ": github, fa #import "fontawesome.typ": github, fa
#let DEFAULT_STRONG = 300;
#let SMALL_STRONG = 200;
// Format start and end dates. // Format start and end dates.
#let format_date(start_date: none, end_date: none) = { #let format_date(start_date: none, end_date: none) = {
let date = { let date = {
@ -40,13 +43,14 @@
left_content left_content
}, },
{ {
set strong(delta: SMALL_STRONG)
set align(right) set align(right)
right_content right_content
} }
), ),
{ {
set align(left) set align(left)
set strong(delta: 200) set strong(delta: SMALL_STRONG)
details details
} }
) )
@ -65,6 +69,7 @@
} }
cv_entry( cv_entry(
left_content: { left_content: {
set strong(delta: DEFAULT_STRONG)
text(1.2em)[*#university*] + "\n" + emph[#degree] text(1.2em)[*#university*] + "\n" + emph[#degree]
}, },
right_content: { right_content: {
@ -105,6 +110,7 @@
} }
#let project(title, repo_link, tools) = { #let project(title, repo_link, tools) = {
set strong(delta: DEFAULT_STRONG)
link(repo_link)[#text(1.1em)[*#title* #fa(github)]] + [ | _ #tools _] link(repo_link)[#text(1.1em)[*#title* #fa(github)]] + [ | _ #tools _]
} }
@ -116,7 +122,7 @@
set page(margin: (rest: 0.5in, top: 0.4in), paper: "us-letter") set page(margin: (rest: 0.5in, top: 0.4in), paper: "us-letter")
set list(indent: 1.25em, marker: [•]) set list(indent: 1.25em, marker: [•])
set text(font: (BODY_FONT), 10pt) set text(font: (BODY_FONT), 10pt)
set par(justify: true, leading: 0.75em) set par(justify: true, leading: 0.85em)
align(center)[ align(center)[
#text(size: 2em, font: TITLE_FONT, fill: color)[*#name*] #text(size: 2em, font: TITLE_FONT, fill: color)[*#name*]
#block(above: 0em, below: 1em) #block(above: 0em, below: 1em)