Skip to content

Commit

Permalink
Fix role card back logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lypsilonx committed May 27, 2024
1 parent 65531e8 commit ed6e49a
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
*.pdf
*.png
*.blend
*.blend1
.updateVersion
2 changes: 1 addition & 1 deletion cards.typ
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
#repeat("GAME OF INTRIGUE")
]
#v(2em, weak: true)
#logo_text
#logo_text(color: if role {black} else {white})
#v(2em, weak: true)
#text(font: "Chivo Mono", fill: secret_gradient)[
#repeat("GAME OF INTRIGUE")
Expand Down
2 changes: 1 addition & 1 deletion cards_abstract.typ
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
#repeat("GAME OF INTRIGUE")
]
#v(2em, weak: true)
#logo_text
#logo_text(color: if role {black} else {white})
#v(2em, weak: true)
#text(font: "Chivo Mono", fill: secret_gradient)[
#repeat("GAME OF INTRIGUE")
Expand Down
10 changes: 10 additions & 0 deletions cover.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#import "data.typ": *

#set page(fill: black, width: 1024pt, height: 1024pt, margin: 0%)
#set text(font: "Inter Tight", fill: white, size: 2.6em)
#place(
center + horizon,
dx: -14pt
)[
#logo(banner: true)
]
8 changes: 4 additions & 4 deletions data.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#let version = "1.0.3"
#let version = "1.0.4"

// Game settings
#let colors = (
Expand Down Expand Up @@ -154,11 +154,11 @@
)#h(side_distance)
]

#let logo_text = [
#let logo_text(color: white) = [
#text(
weight: "extrabold",
size: 5em,
fill: white
fill: color
)[
GAME
#text(
Expand Down Expand Up @@ -194,7 +194,7 @@
#let logo(subtitle: true, banner: false) = [
#rotate(-skew_angle)[
#skew(-skew_angle)[
#logo_text
#logo_text()
#if subtitle [
#text(
weight: "extrabold",
Expand Down

0 comments on commit ed6e49a

Please sign in to comment.