From a2afd4b08dc2b7eada2f95ee95457457a3331344 Mon Sep 17 00:00:00 2001
From: Chloe Brown <chloe.brown.00@outlook.com>
Date: Tue, 25 Mar 2025 16:52:43 +0000
Subject: Before the big rewrite

---
 thmdef-tcolorbox.sty | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 thmdef-tcolorbox.sty

(limited to 'thmdef-tcolorbox.sty')

diff --git a/thmdef-tcolorbox.sty b/thmdef-tcolorbox.sty
new file mode 100644
index 0000000..08d5289
--- /dev/null
+++ b/thmdef-tcolorbox.sty
@@ -0,0 +1,9 @@
+\ProvidesPackage{thmdef-tcolorbox}
+\define@key{thmdef}{tcolorbox}[{}]{%
+  \thmt@trytwice{}{%
+    \RequirePackage{tcolorbox}%
+    \RequirePackage{thm-patch}%
+    \addtotheorempreheadhook[\thmt@envname]{\begin{tcolorbox}[#1]}%
+    \addtotheorempostfoothook[\thmt@envname]{\end{tcolorbox}}%
+  }%
+}
-- 
cgit v1.2.3

