diff --git a/preamble.tex b/preamble.tex
@@ -12,6 +12,7 @@
\usepackage[ordering=Kac]{dynkin-diagrams}
\usepackage{rank-2-roots}
\usepackage{imakeidx}
+\usepackage{thmtools}
% Set the default accent color
\definecolor{mosgreen}{RGB}{29, 135, 17}
@@ -48,15 +49,35 @@
\setenumerate[0]{label={\normalfont \bfseries(\roman*)}}
% Useful theorem definitions
-\newtheorem{theorem}{Theorem}[chapter]
-\newtheorem{lemma}[theorem]{Lemma}
-\newtheorem{corollary}[theorem]{Corollary}
-\newtheorem{proposition}[theorem]{Proposition}
-\theoremstyle{remark}
+\newtheoremstyle{coloredtheorem}{}{}{\em}{}{\bf\color{mosgreen}}{.}{ }{}
+\newtheoremstyle{coloreddefinition}{}{}{}{}{\bf\color{mosgreen}}{.}{ }{}
+\newtheoremstyle{coloredremark}{}{}{}{}{\itshape\color{mosgreen}}{.}{.5em}{}
+\declaretheorem[
+ shaded={rulecolor=mosgreen, rulewidth=2pt, bgcolor=white, margin=4pt},
+ style=coloredtheorem,
+ parent=chapter]{theorem}
+\declaretheorem[
+ shaded={rulecolor=mosgreen, rulewidth=2pt, bgcolor=white, margin=4pt},
+ style=coloredtheorem,
+ sibling=theorem]{lemma}
+\declaretheorem[
+ shaded={rulecolor=mosgreen, rulewidth=2pt, bgcolor=white, margin=4pt},
+ style=coloredtheorem,
+ sibling=theorem]{corollary}
+\declaretheorem[
+ shaded={rulecolor=mosgreen, rulewidth=2pt, bgcolor=white, margin=4pt},
+ style=coloredtheorem,
+ sibling=theorem]{proposition}
+\theoremstyle{coloredremark}
\newtheorem*{note}{Remark}
-\theoremstyle{definition}
-\newtheorem{definition}[theorem]{Definition}
-\newtheorem{example}[theorem]{Example}
+\declaretheorem[
+ shaded={rulecolor=mosgreen, rulewidth=2pt, bgcolor=white, margin=4pt},
+ style=coloreddefinition,
+ sibling=theorem]{definition}
+\declaretheorem[
+ shaded={rulecolor=mosgreen, rulewidth=2pt, bgcolor=white, margin=4pt},
+ style=coloreddefinition,
+ sibling=theorem]{example}
% Custom page style
\fancypagestyle{custom}{%