update projektor
This commit is contained in:
parent
d4fd8ca5df
commit
81b8e78b56
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue