From 3a81b76d1b22c0109b6f3d81c83af91378fb8800 Mon Sep 17 00:00:00 2001
From: mjkwiatkowski <mati.rewa@gmail.com>
Date: Wed, 8 Jul 2026 13:24:39 +0200
Subject: style: added a nice tcolorbox overview for each chapter

---
 style/style.tex | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

(limited to 'style/style.tex')

diff --git a/style/style.tex b/style/style.tex
index ed43238..2cbd0f2 100644
--- a/style/style.tex
+++ b/style/style.tex
@@ -1,6 +1,10 @@
 \usepackage[T1]{fontenc}
 \usepackage[inline]{enumitem}
 \usepackage[dvipsnames]{xcolor}
+\usepackage[many]{tcolorbox}
+\tcbuselibrary{skins, breakable}
+\usetikzlibrary{calc}
+
 \usepackage{xspace,hyperref, lipsum, booktabs, caption, fancyhdr, footmisc, nomencl, rotating, setspace, subfigure,tocbibind, vmargin, watermark, graphicx, pifont, float, array, ipsum, circledsteps, inconsolata, listings}
 
 \hypersetup {
@@ -24,6 +28,7 @@
 \newcommand{\etc}{\emph{etc.}\xspace}
 \newcommand{\etal}{\emph{et~al.}\xspace}
 \newcommand{\todo}[1]{\textcolor{blue}{#1}}
+\newcommand{\mysystem}{\emph{Sunfish}\xspace}
 
 \newcommand\myCircled[1]{\scalebox{0.75}{\Circled[fill color=black,inner color=white]{{\sffamily#1}}}}
 
@@ -59,4 +64,32 @@
 
 \lstset{style=mystyle}
 
+
+
+\definecolor{ChapterBackground}{HTML}{101010}
+\definecolor{ChapterForeground}{HTML}{e93820}
+\definecolor{CoverForeground}{HTML}{ee0000}
+
+%borderline west = {0.5cm}{0pt}{yellow!50!black},
+\newtcolorbox{mynote}{%
+	enhanced,
+	breakable,
+	boxrule = 0.2mm,
+	colback = yellow!60!white,
+	colframe=yellow!60!black,
+	sharp corners,
+	rounded corners = southeast,
+	arc is angular,
+	arc = 3mm,
+	drop fuzzy shadow=gray!90,
+	leftrule=0.6cm,
+	overlay unbroken = {%
+			\path[fill = tcbcolback!80!black,draw=yellow!60!black]
+			([yshift = 3mm]interior.south east) -- ++(-0.4,-0.1) -- ++(0.1,-0.2);
+
+			\node[inner sep=0pt,xshift=.3cm, anchor=center]
+			at ($ (frame.north west)!.5!(frame.south west) $) {\Huge \textbf{\textcolor{white}{!}}};
+		},
+}
+
 \renewcommand\baselinestretch{1.2}
-- 
cgit v1.2.3

