Merge pull request #48 from DeveloperPaul123/release/0.5.0
`0.5.0` release back merge
This commit is contained in:
16
lib.typ
16
lib.typ
@@ -6,7 +6,7 @@
|
|||||||
#let color-darkgray = rgb("#333333")
|
#let color-darkgray = rgb("#333333")
|
||||||
#let color-gray = rgb("#5d5d5d")
|
#let color-gray = rgb("#5d5d5d")
|
||||||
#let default-accent-color = rgb("#262F99")
|
#let default-accent-color = rgb("#262F99")
|
||||||
#let default-location-color = rgb("#000")
|
#let default-location-color = rgb("#333333")
|
||||||
|
|
||||||
// const icons
|
// const icons
|
||||||
#let linkedin-icon = box(
|
#let linkedin-icon = box(
|
||||||
@@ -204,7 +204,7 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
show heading.where(level: 1): it => [
|
show heading.where(level: 1): it => [
|
||||||
|
|
||||||
#set block(
|
#set block(
|
||||||
above: 1em,
|
above: 1em,
|
||||||
below: 1em,
|
below: 1em,
|
||||||
@@ -285,7 +285,7 @@
|
|||||||
let address = {
|
let address = {
|
||||||
set text(
|
set text(
|
||||||
size: 9pt,
|
size: 9pt,
|
||||||
weight: "regular"
|
weight: "regular",
|
||||||
)
|
)
|
||||||
align(center)[
|
align(center)[
|
||||||
#if ("address" in author) [
|
#if ("address" in author) [
|
||||||
@@ -375,25 +375,27 @@
|
|||||||
/// - location (string): The location of the resume entry
|
/// - 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")
|
/// - 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
|
/// - 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(
|
#let resume-entry(
|
||||||
title: none,
|
title: none,
|
||||||
location: "",
|
location: "",
|
||||||
date: "",
|
date: "",
|
||||||
description: "",
|
description: "",
|
||||||
|
title-link: none,
|
||||||
accent-color: default-accent-color,
|
accent-color: default-accent-color,
|
||||||
location-color: default-location-color,
|
location-color: default-location-color,
|
||||||
title-link: none
|
|
||||||
) = {
|
) = {
|
||||||
|
|
||||||
let title-content
|
let title-content
|
||||||
if type(title-link) == "string" {
|
if type(title-link) == "string" {
|
||||||
title-content = link(title-link)[#text(fill: rgb("#000"))[#title]]
|
title-content = link(title-link)[#title]
|
||||||
} else {
|
} else {
|
||||||
title-content = title
|
title-content = title
|
||||||
}
|
}
|
||||||
|
|
||||||
pad[
|
pad[
|
||||||
#justified-header(title-content, text(fill: location-color)[#location])
|
#justified-header(title-content, location)
|
||||||
#secondary-justified-header(description, date)
|
#secondary-justified-header(description, date)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#import "lib.typ"
|
#import "lib.typ"
|
||||||
#import "@preview/tidy:0.2.0"
|
#import "@preview/tidy:0.3.0"
|
||||||
|
|
||||||
#let docs = tidy.parse-module(
|
#let docs = tidy.parse-module(
|
||||||
read("lib.typ"),
|
read("lib.typ"),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#import "@preview/modern-cv:0.4.0": *
|
#import "@preview/modern-cv:0.5.0": *
|
||||||
|
|
||||||
#show: coverletter.with(
|
#show: coverletter.with(
|
||||||
author: (
|
author: (
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#import "@preview/modern-cv:0.4.0": *
|
#import "@preview/modern-cv:0.5.0": *
|
||||||
|
|
||||||
#show: coverletter.with(
|
#show: coverletter.with(
|
||||||
author: (
|
author: (
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#import "@preview/modern-cv:0.4.0": *
|
#import "@preview/modern-cv:0.5.0": *
|
||||||
|
|
||||||
#show: resume.with(
|
#show: resume.with(
|
||||||
author: (
|
author: (
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
location: "Example City, EX",
|
location: "Example City, EX",
|
||||||
date: "2019 - Present",
|
date: "2019 - Present",
|
||||||
description: "Example, Inc.",
|
description: "Example, Inc.",
|
||||||
title-link: "https://github.com/DeveloperPaul123"
|
title-link: "https://github.com/DeveloperPaul123",
|
||||||
)
|
)
|
||||||
|
|
||||||
#resume-item[
|
#resume-item[
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "modern-cv"
|
name = "modern-cv"
|
||||||
version = "0.4.0"
|
version = "0.5.0"
|
||||||
compiler = "0.11.0"
|
compiler = "0.11.0"
|
||||||
entrypoint = "lib.typ"
|
entrypoint = "lib.typ"
|
||||||
authors = ["Paul Tsouchlos <https://github.com/DeveloperPaul123>"]
|
authors = ["Paul Tsouchlos <https://github.com/DeveloperPaul123>"]
|
||||||
|
|||||||
Reference in New Issue
Block a user