diff --git a/global.typ b/global.typ
index ddc4f90557cd459e62e59b64f0946f6f1acdb3b8..a47483570d2ea2efa6dc29e64b586b6259270797 100644
--- a/global.typ
+++ b/global.typ
@@ -4,11 +4,11 @@
 
 #let add(s) = todo(inline: true, s)
 
-#let hightlightBgColor = luma(80%)
+#let highlightBgColor = luma(80%)
 
 #let path(segments) = {
   let e = 0.2em
-  box(inset: (x: e, y: e), fill: hightlightBgColor, radius: 3pt, baseline: e, {
+  box(inset: (x: e, y: e), fill: highlightBgColor, radius: 3pt, baseline: e, {
     for (idx, s) in segments.enumerate() {
       let f = "DejaVu Sans Mono" // I think this is the default mono font. See https://github.com/typst/typst/issues/2870
       text(font: f, size: 9pt, s)
diff --git a/template.typ b/template.typ
index bd875610df24ea05e3475cbfb3f14a6af714e1a2..9b0b41da67885469d0ace29243f3d5d28689b698 100644
--- a/template.typ
+++ b/template.typ
@@ -32,7 +32,7 @@ show raw.where(block: false): r => {
   //   text(font: f, r)
   //   h(e)
   // })
-  box(inset: (x: e, y: e), fill: hightlightBgColor, radius: 3pt, baseline: e, text(font: f, r))
+  box(inset: (x: e, y: e), fill: highlightBgColor, radius: 3pt, baseline: e, text(font: f, r))
 }
 
 show figure.caption: it => block({