diff --git a/images/icons/bolt-lightning-solid-full.svg b/images/icons/bolt-lightning-solid-full.svg
index 3422877..9c4a21c 100644
--- a/images/icons/bolt-lightning-solid-full.svg
+++ b/images/icons/bolt-lightning-solid-full.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/images/icons/level.svg b/images/icons/level.svg
index 4f949c9..defbf12 100644
--- a/images/icons/level.svg
+++ b/images/icons/level.svg
@@ -1,6 +1,6 @@
\ No newline at end of file
+
diff --git a/images/icons/precision.svg b/images/icons/precision.svg
index 2614526..c9543e0 100644
--- a/images/icons/precision.svg
+++ b/images/icons/precision.svg
@@ -1,5 +1,5 @@
\ No newline at end of file
+
diff --git a/images/icons/reload.svg b/images/icons/reload.svg
index a10f0ac..11838c8 100644
--- a/images/icons/reload.svg
+++ b/images/icons/reload.svg
@@ -1,6 +1,6 @@
\ No newline at end of file
+
diff --git a/images/icons/rmax.svg b/images/icons/rmax.svg
index 36ca8cb..9359b11 100644
--- a/images/icons/rmax.svg
+++ b/images/icons/rmax.svg
@@ -1,6 +1,6 @@
\ No newline at end of file
+
diff --git a/images/icons/tier.svg b/images/icons/tier.svg
index 4f67d6b..e08f2a3 100644
--- a/images/icons/tier.svg
+++ b/images/icons/tier.svg
@@ -1,6 +1,6 @@
\ No newline at end of file
+ " fill="none" stroke="black" stroke-width="7" stroke-linecap="round">
+
diff --git a/images/icons/time.svg b/images/icons/time.svg
index ca43991..fc1ac78 100644
--- a/images/icons/time.svg
+++ b/images/icons/time.svg
@@ -1,6 +1,6 @@
\ No newline at end of file
+
diff --git a/setup/symbols.typ b/setup/symbols.typ
index 6d95db3..b832275 100644
--- a/setup/symbols.typ
+++ b/setup/symbols.typ
@@ -120,11 +120,153 @@
inset: 0pt,
image("/images/icons/skull-fill.svg"),
)
-#let wine-box(..args) = box(
+#let wine-box = box(
height: 0.65em,
baseline: 0.5pt,
inset: 0pt,
image("/images/icons/wine-fill.svg"),
)
+// =============================================================================
+// SVG RECOLORING
+// =============================================================================
+#let re-colorize(svg-box, color) = {
+ let outer = svg-box
+ let current = svg-box
+
+ let source = none
+ let image-node = none
+
+ // ---------------------------------------------------------------------------
+ // Unwrap boxes until we find an image source.
+ // ---------------------------------------------------------------------------
+
+ for _ in range(2) {
+ let direct-source = current.at("source", default: none)
+
+ if direct-source != none {
+ source = direct-source
+ image-node = current
+ break
+ }
+
+ let body = current.at("body", default: none)
+
+ if body == none {
+ break
+ }
+
+ current = body
+ }
+
+ if source == none {
+ panic(
+ "re-colorize: expected an image or boxed image, "
+ + "but no image source was found.",
+ )
+ }
+
+ let source-path = str(source)
+
+ // Case-insensitive `.svg` extension check.
+ if source-path.find(regex("(?i)\\.svg$")) == none {
+ panic(
+ "re-colorize: expected an SVG image, got `" + source-path + "`.",
+ )
+ }
+
+ let svg = read(source-path)
+
+ // Also verify that the contents actually look like SVG.
+ if svg.find(regex("(?i)