packages/themes.sty : more verbose global colour constants

This commit is contained in:
saundersp
2024-11-07 05:23:09 +01:00
parent 46b1cc6071
commit 94cdd07e84
3 changed files with 40 additions and 42 deletions

View File

@ -19,15 +19,15 @@
%\usepackage{lipsum} % Command to generate temporary dummy text
\usepackage[ruled,vlined,linesnumbered]{algorithm2e} % Add the algorithm environnement
\usepackage[codedark]{packages/themes} % Include many colours themes ([default], codedark or dracula)
\pagecolor{th_colour_bg}
\color{th_colour_fg}
\pagecolor{theme_colour_background}
\color{theme_colour_foreground}
\usepackage{amsmath} % Provides command to typeset matrices with different delimiters
\usepackage{listings} % Add an environnement to highlight code
\usepackage{xargs} % Allow multiple optional parameters parsing
\usepackage{mdframed} % Fancy rectangles
\mdfsetup{linecolor = th_colour_fg, innerlinecolor = th_colour_fg,%
middlelinecolor = th_colour_fg, outerlinecolor = th_colour_fg,%
backgroundcolor = th_colour_bg, fontcolor = th_colour_fg}
\mdfsetup{linecolor = theme_colour_foreground, innerlinecolor = theme_colour_foreground, %
middlelinecolor = theme_colour_foreground, outerlinecolor = theme_colour_foreground, %
backgroundcolor = theme_colour_background, fontcolor = theme_colour_foreground}
\usepackage{packages/macros} % Customs macros
\usepackage{graphicx}
\usepackage{makeidx}[intoc] % Make a word index