From 81b8e78b56726ee2512d4904afe2731bf00cd286 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 29 May 2023 19:26:17 +0200 Subject: [PATCH] update projektor --- presentation/projektor.sty | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/presentation/projektor.sty b/presentation/projektor.sty index 1d3b168..060b031 100644 --- a/presentation/projektor.sty +++ b/presentation/projektor.sty @@ -7,6 +7,8 @@ \DeclareOption{code}{\option@codetrue} \newif\ifoption@fr \DeclareOption{fr}{\option@frtrue} +\newif\ifoption@dark +\DeclareOption{dark}{\option@darktrue} \ProcessOptions \ifoption@code @@ -25,6 +27,16 @@ numbering=fraction ]{metropolis} + +\ifoption@dark + % Dark theme + \setbeamercolor{normal text}{fg=white,bg=black!90} + \setbeamercolor{alerted text}{fg=orange!65!white} + \setbeamercolor{progress bar}{bg=alerted text.fg!20!black!90} + \setbeamercolor{frametitle}{bg=black!92} + \setbeamercolor*{palette primary}{use=structure,fg=structure.fg} +\fi + % Footer \setbeamertemplate{frame footer}{ \insertsection \hfill\hspace{-4em} \insertshorttitle