update projektor

This commit is contained in:
Mylloon 2023-05-29 19:26:17 +02:00
parent d4fd8ca5df
commit 81b8e78b56
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -7,6 +7,8 @@
\DeclareOption{code}{\option@codetrue} \DeclareOption{code}{\option@codetrue}
\newif\ifoption@fr \newif\ifoption@fr
\DeclareOption{fr}{\option@frtrue} \DeclareOption{fr}{\option@frtrue}
\newif\ifoption@dark
\DeclareOption{dark}{\option@darktrue}
\ProcessOptions \ProcessOptions
\ifoption@code \ifoption@code
@ -25,6 +27,16 @@
numbering=fraction numbering=fraction
]{metropolis} ]{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 % Footer
\setbeamertemplate{frame footer}{ \setbeamertemplate{frame footer}{
\insertsection \hfill\hspace{-4em} \insertshorttitle \insertsection \hfill\hspace{-4em} \insertshorttitle