ravenous_typst/setup/symbols.typ

131 lines
2.4 KiB
Plaintext

#import "variables.typ": theme, theme-var
#import "limits.typ": hunbal
#let star-base-sym = theme-var("star")
#let star-box = text(fill: black, top-edge: 0.5em, size: 1.3em)[#star-base-sym]
#let empty-star-box = text(
fill: white,
size: 1.3em,
top-edge: 0.5em,
stroke: 0.6pt + black,
)[#star-base-sym]
#let blood-box = box(
height: 0.65em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/blood.png"),
)
#let jauge-box = box(
height: 0.65em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/bolt-lightning-solid-full.svg"),
)
#let torque-box = box(
height: 0.75em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/torque_color.png"),
)
#let precision-box = text(fill: green, box(
height: 0.85em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/precision.svg"),
))
#let parmure-box = text(fill: green, box(
height: 0.85em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/armor_pierce.png"),
))
#let arbreak-box = text(fill: green, box(
height: 0.75em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/arbreakk_color.png"),
))
#let am-box = box(
height: 0.75em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/antimaterial.png"),
)
#let rmax-box = box(
height: 0.85em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/rmax.svg"),
)
#let reload-box = box(
height: 0.65em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/reload.svg"),
)
#let protection-box = box(
height: 0.65em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/protection.png"),
)
#let integrity-box = box(
height: 0.65em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/integrity.png"),
)
#let cost-box = box(
height: 0.65em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/coins.svg"),
)
#let end-box = box(
height: 0.65em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/flag-banner.svg"),
)
#let tier-box = box(
height: 0.75em,
baseline: 0.2pt,
inset: 0pt,
image("/images/icons/tier.svg"),
)
#let lvl-box = box(
height: 0.65em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/level.svg"),
)
#let time-box = box(
height: 0.65em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/time.svg"),
)
#let tox-box = box(
height: 0.65em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/skull-fill.svg"),
)
#let wine-box(..args) = box(
height: 0.65em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/wine-fill.svg"),
)