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 12 additions and 9 deletions
Showing only changes of commit 9676cd0d4d - Show all commits

View File

@ -10,7 +10,7 @@
#set list(indent: 1em) #set list(indent: 1em)
// Change the theme color of the cv. // Change the theme color of the cv.
#let color = black #let color = rgb("#ff983e")
#let name = "Daniel Chen" #let name = "Daniel Chen"
#let contact_data = ( #let contact_data = (
@ -119,6 +119,6 @@
"University of Waterloo", "Candidate for B.A.Sc. in Computer Engineering", start_date: "Sep 2022", end_date: "Apr 2027", "University of Waterloo", "Candidate for B.A.Sc. in Computer Engineering", start_date: "Sep 2022", end_date: "Apr 2027",
location: "Waterloo, ON", location: "Waterloo, ON",
details: ( details: (
[Secretary, Creative Writing Club], [Courses: Object-oriented programming, data structures & algorithms, digital computers & circuits ],
)) ))
] ]

17
lib.typ
View File

@ -117,10 +117,10 @@
#let template(name, contact_data, color, doc) = { #let template(name, contact_data, color, doc) = {
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: "Latin Modern Sans", 11pt) set text(font: ("Latin Modern Sans"), 11pt)
set par(justify: true, leading: 0.65em) set par(justify: true, leading: 0.65em)
align(center)[ align(center)[
#text(size: 2em)[*#name*] #text(size: 2em, font: "Bitter", fill: color)[*#name*]
#block(above: 0em, below: 1em) #block(above: 0em, below: 1em)
#{ #{
if contact_data != none and contact_data.len() > 0 { if contact_data != none and contact_data.len() > 0 {
@ -136,13 +136,16 @@
set align(left) set align(left)
let title = smallcaps(i.body) let title = smallcaps(i.body)
set block(above: 1em) // add line to right of heading
set text(weight: "light", size: 0.9em, fill: color, font: "New Computer Modern")
set block(above: 1em, below: 1em)
set text(size: 0.9em, fill: color, font: "Bitter")
stack( stack(
dir: ttb, dir: ltr,
spacing: 1.5mm, spacing: 2mm,
title, title,
line(length: 100%, stroke: color + 0.4pt) line(length: 100%, stroke: color + 0.4pt),
) )
} }