From 40427ffede22bea7607762027633539778c94944 Mon Sep 17 00:00:00 2001 From: Paul Tsouchlos Date: Mon, 22 Jul 2024 09:49:51 -0400 Subject: [PATCH 1/6] fix: don't color resume-entry links --- lib.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.typ b/lib.typ index aff0611..5cc818d 100644 --- a/lib.typ +++ b/lib.typ @@ -387,7 +387,7 @@ let title-content if type(title-link) == "string" { - title-content = link(title-link)[#text(fill: rgb("#000"))[#title]] + title-content = link(title-link)[#title] } else { title-content = title } From 4dcb8ab7fd51c2164bcce57b12a0659d6c72ea2f Mon Sep 17 00:00:00 2001 From: Paul Tsouchlos Date: Mon, 22 Jul 2024 09:50:02 -0400 Subject: [PATCH 2/6] chore: bump version --- typst.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typst.toml b/typst.toml index 904d46c..24f565a 100644 --- a/typst.toml +++ b/typst.toml @@ -1,6 +1,6 @@ [package] name = "modern-cv" -version = "0.4.0" +version = "0.5.0" compiler = "0.11.0" entrypoint = "lib.typ" authors = ["Paul Tsouchlos "] From 650b2b0cec8bcad3c75512a3ee54e5f17697ba15 Mon Sep 17 00:00:00 2001 From: Paul Tsouchlos Date: Mon, 22 Jul 2024 09:51:15 -0400 Subject: [PATCH 3/6] chore: update version in templates --- template/coverletter.typ | 2 +- template/coverletter2.typ | 2 +- template/resume.typ | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/template/coverletter.typ b/template/coverletter.typ index cb187af..a75e1b0 100644 --- a/template/coverletter.typ +++ b/template/coverletter.typ @@ -1,4 +1,4 @@ -#import "@preview/modern-cv:0.4.0": * +#import "@preview/modern-cv:0.5.0": * #show: coverletter.with( author: ( diff --git a/template/coverletter2.typ b/template/coverletter2.typ index 4354597..9286afa 100644 --- a/template/coverletter2.typ +++ b/template/coverletter2.typ @@ -1,4 +1,4 @@ -#import "@preview/modern-cv:0.4.0": * +#import "@preview/modern-cv:0.5.0": * #show: coverletter.with( author: ( diff --git a/template/resume.typ b/template/resume.typ index 6144b5f..8657858 100644 --- a/template/resume.typ +++ b/template/resume.typ @@ -1,4 +1,4 @@ -#import "@preview/modern-cv:0.4.0": * +#import "@preview/modern-cv:0.5.0": * #show: resume.with( author: ( From 3845415587e48f7fcd06afb9d213031d7c0dacf7 Mon Sep 17 00:00:00 2001 From: Paul Tsouchlos Date: Mon, 22 Jul 2024 09:52:18 -0400 Subject: [PATCH 4/6] format: auto-formatting --- lib.typ | 7 +++---- template/resume.typ | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lib.typ b/lib.typ index 5cc818d..c17f14f 100644 --- a/lib.typ +++ b/lib.typ @@ -204,7 +204,7 @@ ) show heading.where(level: 1): it => [ - + #set block( above: 1em, below: 1em, @@ -285,7 +285,7 @@ let address = { set text( size: 9pt, - weight: "regular" + weight: "regular", ) align(center)[ #if ("address" in author) [ @@ -382,9 +382,8 @@ description: "", accent-color: default-accent-color, location-color: default-location-color, - title-link: none + title-link: none, ) = { - let title-content if type(title-link) == "string" { title-content = link(title-link)[#title] diff --git a/template/resume.typ b/template/resume.typ index 8657858..b53b386 100644 --- a/template/resume.typ +++ b/template/resume.typ @@ -30,7 +30,7 @@ location: "Example City, EX", date: "2019 - Present", description: "Example, Inc.", - title-link: "https://github.com/DeveloperPaul123" + title-link: "https://github.com/DeveloperPaul123", ) #resume-item[ From 78a53befb59181f1df74daa11776dbb0141b1383 Mon Sep 17 00:00:00 2001 From: Paul Tsouchlos Date: Mon, 22 Jul 2024 10:49:52 -0400 Subject: [PATCH 5/6] fix: theming issues and update docs --- lib.typ | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib.typ b/lib.typ index c17f14f..44371f6 100644 --- a/lib.typ +++ b/lib.typ @@ -6,7 +6,7 @@ #let color-darkgray = rgb("#333333") #let color-gray = rgb("#5d5d5d") #let default-accent-color = rgb("#262F99") -#let default-location-color = rgb("#000") +#let default-location-color = rgb("#333333") // const icons #let linkedin-icon = box( @@ -375,14 +375,17 @@ /// - location (string): The location of the resume entry /// - date (string): The date of the resume entry, this can be a range (e.g. "Jan 2020 - Dec 2020") /// - description (content): The body of the resume entry +/// - title-link (string): The link to use for the title (can be none) +/// - accent-color (color): Override the accent color of the resume-entry +/// - location-color (color): Override the default color of the "location" for a resume entry. #let resume-entry( title: none, location: "", date: "", description: "", + title-link: none, accent-color: default-accent-color, location-color: default-location-color, - title-link: none, ) = { let title-content if type(title-link) == "string" { @@ -392,7 +395,7 @@ } pad[ - #justified-header(title-content, text(fill: location-color)[#location]) + #justified-header(title-content, location) #secondary-justified-header(description, date) ] } From a2fe9ca40a13efeada0d4b596eaa43ba07e05ded Mon Sep 17 00:00:00 2001 From: Paul Tsouchlos Date: Mon, 22 Jul 2024 10:50:03 -0400 Subject: [PATCH 6/6] chore: update doc generation package --- modern-cv-docs.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modern-cv-docs.typ b/modern-cv-docs.typ index 9b5f6c8..a48489c 100644 --- a/modern-cv-docs.typ +++ b/modern-cv-docs.typ @@ -1,5 +1,5 @@ #import "lib.typ" -#import "@preview/tidy:0.2.0" +#import "@preview/tidy:0.3.0" #let docs = tidy.parse-module( read("lib.typ"),