Skip to content

Commit

Permalink
Removed Monaco font
Browse files Browse the repository at this point in the history
  • Loading branch information
Lypsilonx committed May 18, 2024
1 parent 81824a3 commit 6a454c1
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 22 deletions.
36 changes: 20 additions & 16 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
options: |
--input=render_type=single
- run: |
mkdir -p out
mv Game\ of\ Intrigue.pdf out/Game\ of\ Intrigue.pdf
mkdir -p assets
mv Game\ of\ Intrigue.pdf assets/Game\ of\ Intrigue.pdf
- name: Render Single
uses: leana8959/typst-action@main
Expand All @@ -34,9 +34,9 @@ jobs:
--input=render_type=single
- run: |
mkdir -p out/cards/single
mv cards.pdf out/cards/single/cards.pdf
mv cards_abstract.pdf out/cards/single/cards_abstract.pdf
mkdir -p assets/cards/single
mv cards.pdf assets/cards/single/cards.pdf
mv cards_abstract.pdf assets/cards/single/cards_abstract.pdf
- name: Render Single Foldable
uses: leana8959/typst-action@main
Expand All @@ -48,9 +48,9 @@ jobs:
--input=render_type=single_foldable
- run: |
mkdir -p out/cards/single_foldable
mv cards.pdf out/cards/single_foldable/cards.pdf
mv cards_abstract.pdf out/cards/single_foldable/cards_abstract.pdf
mkdir -p assets/cards/single_foldable
mv cards.pdf assets/cards/single_foldable/cards.pdf
mv cards_abstract.pdf assets/cards/single_foldable/cards_abstract.pdf
- name: Render Foldable
uses: leana8959/typst-action@main
Expand All @@ -62,9 +62,9 @@ jobs:
--input=render_type=foldable
- run: |
mkdir -p out/cards/foldable
mv cards.pdf out/cards/foldable/cards.pdf
mv cards_abstract.pdf out/cards/foldable/cards_abstract.pdf
mkdir -p assets/cards/foldable
mv cards.pdf assets/cards/foldable/cards.pdf
mv cards_abstract.pdf assets/cards/foldable/cards_abstract.pdf
- name: Render Double Sided
uses: leana8959/typst-action@main
Expand All @@ -76,19 +76,23 @@ jobs:
--input=render_type=double_sided
- run: |
mkdir -p out/cards/double_sided
mv cards.pdf out/cards/double_sided/cards.pdf
mv cards_abstract.pdf out/cards/double_sided/cards_abstract.pdf
mkdir -p assets/cards/double_sided
mv cards.pdf assets/cards/double_sided/cards.pdf
mv cards_abstract.pdf assets/cards/double_sided/cards_abstract.pdf
- name: Upload Files
uses: actions/upload-artifact@v4
with:
name: Game of Intrigue
path: "out/**"
path: "assets/**"

- name: Zip for Release
# zip everything in the assets folder into assets.zip
run: zip -r assets.zip assets

- name: Release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
with:
name: "${{ github.ref_name }}"
files: "out/**"
files: "assets.zip"
4 changes: 2 additions & 2 deletions cards.typ
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
#set align(center + top)
#let secret_gradient = if role { gradient.linear(..colors, angle: 45deg, relative: "parent")} else { white }
#v(2.5em)
#text(font: "Monaco", fill: secret_gradient)[
#text(font: "Chivo Mono", fill: secret_gradient)[
#repeat("GAME OF INTRIGUE")
#repeat("OF INTRIGUE GAME")
#repeat("INTRIGUE GAME OF")
Expand Down Expand Up @@ -276,7 +276,7 @@
INTRIGUE
]
#v(2em, weak: true)
#text(font: "Monaco", fill: secret_gradient)[
#text(font: "Chivo Mono", fill: secret_gradient)[
#repeat("GAME OF INTRIGUE")
#repeat("OF INTRIGUE GAME")
#repeat("INTRIGUE GAME OF")
Expand Down
8 changes: 4 additions & 4 deletions cards_abstract.typ
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
dy: 0.2em
)[
#text(
size: 8em,
size: 7em,
weight: "extrabold",
fill: white
)[
Expand All @@ -205,7 +205,7 @@
)[
#rotate(180deg)[
#text(
size: 8em,
size: 7em,
weight: "extrabold",
fill: if (color != none) {color} else {black}
)[
Expand Down Expand Up @@ -256,7 +256,7 @@
#set align(center + top)
#let secret_gradient = if role { gradient.linear(..colors, angle: 45deg, relative: "parent")} else { white }
#v(2.5em)
#text(font: "Monaco", fill: secret_gradient)[
#text(font: "Chivo Mono", fill: secret_gradient)[
#repeat("GAME OF INTRIGUE")
#repeat("OF INTRIGUE GAME")
#repeat("INTRIGUE GAME OF")
Expand Down Expand Up @@ -287,7 +287,7 @@
INTRIGUE
]
#v(2em, weak: true)
#text(font: "Monaco", fill: secret_gradient)[
#text(font: "Chivo Mono", fill: secret_gradient)[
#repeat("GAME OF INTRIGUE")
#repeat("OF INTRIGUE GAME")
#repeat("INTRIGUE GAME OF")
Expand Down
Binary file added fonts/ChivoMono-Regular.ttf
Binary file not shown.
3 changes: 3 additions & 0 deletions render.typ
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
" " + box(it, fill: red, outset: 0.2em) + " "
}

set text(font: "Inter Tight", weight: "regular")
set par(leading: 0.5em)

if (is_role) {
set align(top)
show regex("\[(Goal|Perk)\]"): it => text(weight: "extrabold", size: 1.5em)[
Expand Down

0 comments on commit 6a454c1

Please sign in to comment.