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}
|
||||
\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
|
||||
|
|
Reference in a new issue