Commit 15c4736c authored by Bernhard Heinloth's avatar Bernhard Heinloth
Browse files

Support "Markendesigne 2021"

Enable it with

  \neoset{style=modern}
parent d0a72982
Pipeline #78947 passed with stage
in 35 seconds
......@@ -59,11 +59,24 @@
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{colorstyle}
% Choose between 2015 (legacy) and 2021 (modern) color set style
% \begin{macrocode}
\pgfkeys{
/neo/color/style/.cd,
.is choice,
modern/.code=\neo@colorstyle@modern,
legacy/.code=\neo@colorstyle@legacy,
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\neo@color@setdefaults}
% Sets default values for color theme options.
% \begin{macrocode}
\newcommand{\neo@color@setdefaults}{
\pgfkeys{/neo/color/.cd,
style=legacy,
background=light,
block=transparent,
}
......@@ -76,54 +89,63 @@
% \subsubsection{Base colors}
%
% \begin{macrocode}
\newcommand{\neo@colorstyle@modern}{
\definecolor{nDarkGrey}{RGB}{47,88,110}
\definecolor{nGrey}{RGB}{140,159,177}
\definecolor{nLightGrey}{RGB}{211,218,225}
\definecolor{nDarkRed}{RGB}{151,27,47}
\definecolor{nRed}{RGB}{197,15,60}
\definecolor{nLightRed}{RGB}{233,164,181}
\definecolor{nDarkGreen}{RGB}{38,97,65}
\definecolor{nGreen}{RGB}{123,183,37}
\definecolor{nLightGreen}{RGB}{205,228,172}
\definecolor{nDarkBlue}{RGB}{4,30,66}
\definecolor{nBlue}{RGB}{0,49,106}
\definecolor{nLightBlue}{RGB}{160,177,198}
\definecolor{nDarkGrey}{RGB}{152,164,174}
\definecolor{nGrey}{RGB}{210,213,215}
\definecolor{nLightGrey}{RGB}{235,236,238}
\definecolor{nDarkCyan}{RGB}{0,82,135}
\definecolor{nCyan}{RGB}{24,180,241}
\definecolor{nLightCyan}{RGB}{167,226,250}
\definecolor{nDarkRed}{RGB}{141,20,41}
\definecolor{nRed}{RGB}{201,169,147}
\definecolor{nLightRed}{RGB}{237,231,222}
\definecolor{nDarkYellow}{RGB}{232,119,34}
\definecolor{nYellow}{RGB}{253,183,53}
\definecolor{nLightYellow}{RGB}{254,228,178}
}
\newcommand{\neo@colorstyle@legacy}{
\definecolor{nDarkGrey}{RGB}{152,164,174}
\definecolor{nGrey}{RGB}{210,213,215}
\definecolor{nLightGrey}{RGB}{235,236,238}
\definecolor{nDarkGreen}{RGB}{0,155,119}
\definecolor{nGreen}{RGB}{170,207,189}
\definecolor{nLightGreen}{RGB}{229,239,234}
\definecolor{nDarkRed}{RGB}{141,20,41}
\definecolor{nRed}{RGB}{201,169,147}
\definecolor{nLightRed}{RGB}{237,231,222}
\definecolor{nDarkBlue}{RGB}{0,56,101}
\definecolor{nBlue}{RGB}{144,167,198}
\definecolor{nLightBlue}{RGB}{221,229,240}
\definecolor{nDarkGreen}{RGB}{0,155,119}
\definecolor{nGreen}{RGB}{170,207,189}
\definecolor{nLightGreen}{RGB}{229,239,234}
\definecolor{nDarkCyan}{RGB}{0,177,235}
\definecolor{nCyan}{RGB}{180,214,245}
\definecolor{nLightCyan}{RGB}{234,243,252}
\definecolor{nDarkBlue}{RGB}{0,56,101}
\definecolor{nBlue}{RGB}{144,167,198}
\definecolor{nLightBlue}{RGB}{221,229,240}
\definecolor{nDarkYellow}{RGB}{201,147,19}
\definecolor{nYellow}{RGB}{217,198,137}
\definecolor{nLightYellow}{RGB}{243,238,223}
\definecolor{nDarkCyan}{RGB}{0,177,235}
\definecolor{nCyan}{RGB}{180,214,245}
\definecolor{nLightCyan}{RGB}{234,243,252}
\definecolor{nDarkYellow}{RGB}{201,147,19}
\definecolor{nYellow}{RGB}{217,198,137}
\definecolor{nLightYellow}{RGB}{243,238,223}
}
\definecolor{nBlack}{HTML}{011F32}
\definecolor{nWhite}{RGB}{250,250,250}
% \end{macrocode}
%
%
%
% \subsubsection{Alias colors}
%
% Support the colors provided by the old i4 beamer theme.
%
% \begin{macrocode}
\colorlet{i4red}{nDarkRed}
\colorlet{i4green}{nDarkGreen}
\colorlet{i4blue}{nDarkBlue}
\colorlet{i4cyan}{nDarkCyan}
\colorlet{i4yellow}{nDarkYellow}
\colorlet{i4grey}{nDarkGrey}
\definecolor{darkred}{rgb}{0.8,0,0}
\colorlet{beamergreen}{green!50!black}
% \end{macrocode}
%
%
%
% \subsubsection{Base styles}
%
% All colors in \themename are derived from the definitions of |normal text|,
......
......@@ -154,7 +154,7 @@
\usebackgroundtemplate{
\tikzexternaldisable%
\begin{tikzpicture}
\node[anchor=north west,inner sep=0,outer sep=0] at (0, \paperheight) {\includegraphics[width=\paperwidth]{images/titlepage-#1}};
\node[anchor=north west,inner sep=0,outer sep=0,fill=nDarkBlue] at (0, \paperheight) {\includegraphics[width=\paperwidth]{images/titlepage-#1}};
\fill[nWhite] (0,0) rectangle (\paperwidth, 0.3\paperheight);
\end{tikzpicture}%
\tikzexternalenable%
......
......@@ -48,7 +48,7 @@
none/.code=\setbeamertemplate{frametitle icon}[none],
i4/.code=\setbeamertemplate{frametitle icon}[i4],
fau/.code=\setbeamertemplate{frametitle icon}[fau],
fau-new/.code=\setbeamertemplate{frametitle icon}[fau-new],
fau-modern/.code=\setbeamertemplate{frametitle icon}[fau-modern],
}
% \end{macrocode}
% \end{macro}
......@@ -187,7 +187,7 @@
\defbeamertemplate{frametitle icon}{none}{}
\defbeamertemplate{frametitle icon}{i4}{ \hfill\raisebox{-.25\height}{\includegraphics[height=1.2em]{images/logo-i4-white}}}
\defbeamertemplate{frametitle icon}{fau}{ \hfill\raisebox{-.25\height}{\includegraphics[height=1.2em]{images/logo-fau-white}}}
\defbeamertemplate{frametitle icon}{fau-new}{ \hfill\raisebox{-.25\height}{\includegraphics[height=1.75em]{images/logo-fau-white-new}\kern-0.275em}}
\defbeamertemplate{frametitle icon}{fau-modern}{ \hfill\raisebox{-.25\height}{\includegraphics[height=1.75em]{images/logo-fau-white-modern}}}
% \end{macrocode}
% \end{macro}
%
......
......@@ -111,6 +111,8 @@
darkcolors/.code=\pgfkeysalso{color/background=dark},
whitebg/.code=\pgfkeysalso{color/background=white},
blockbg/.code=\pgfkeysalso{color/block=fill},
modern/.code=\pgfkeysalso{color/style=modern},
legacy/.code=\pgfkeysalso{color/style=legacy},
light/.code=\pgfkeysalso{font/style=light},
book/.code=\pgfkeysalso{font/style=book},
regular/.code=\pgfkeysalso{font/style=regular},
......
No preview for this file type
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment