From c6e53185bc9e9b098b35c1ae1f14a8ef8481c2b2 Mon Sep 17 00:00:00 2001
From: Lars Frost <larsf@fsmpi.rwth-aachen.de>
Date: Sun, 10 Nov 2024 17:16:19 +0100
Subject: [PATCH] Fix typo

---
 global.typ   | 4 ++--
 template.typ | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/global.typ b/global.typ
index ddc4f90..a474835 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 bd87561..9b0b41d 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({
-- 
GitLab