Commit b0e87661 authored by Alexander Bartolomey's avatar Alexander Bartolomey

Revert "removed excess colors and fixed namespace duplicates"

This reverts commit 7cc1ed7e.
parent 48cf6a67
\mode<presentation> \mode<presentation>
% Yes, these definitions are from the rwth-template
% \definecolor{rwth} {RGB}{ 0 84 159}
% \definecolor{rwth-75}{RGB}{ 64 127 183}
% \definecolor{rwth-50}{RGB}{142 186 229}
% \definecolor{rwth-25}{RGB}{199 221 242}
% \definecolor{rwth-10}{RGB}{232 241 250}
\definecolor{polynom-blue}{RGB}{41 98 255} \definecolor{polynom-blue}{RGB}{41 98 255}
\definecolor{polynom-space-grey}{RGB}{21 21 21} \definecolor{polynom-space-grey}{RGB}{51 51 51}
\definecolor{polynom-white}{RGB}{255 255 255} \definecolor{polynom-white}{RGB}{255 255 255}
\definecolor{polynom-blue-dark}{RGB}{0 39 148} \definecolor{polynom-blue-dark}{RGB}{0 39 148}
\definecolor{polynom-blue-darker}{RGB}{0 32 96} \definecolor{polynom-blue-darker}{RGB}{0 32 96}
...@@ -11,11 +18,24 @@ ...@@ -11,11 +18,24 @@
\definecolor{black} {RGB}{ 0 0 0} \definecolor{black} {RGB}{ 0 0 0}
\definecolor{black-75}{RGB}{100 101 103} \definecolor{black-75}{RGB}{100 101 103}
% \definecolor{grun} {RGB}{ 87 171 39}
% \definecolor{grun-75}{RGB}{141 192 96}
% \definecolor{grun-50}{RGB}{184 214 152}
% \definecolor{grun-25}{RGB}{221 235 206}
% \definecolor{grun-10}{RGB}{242 247 236}
% \definecolor{rot} {RGB}{204 7 30}
% \definecolor{rot-75}{RGB}{216 92 65}
% \definecolor{rot-50}{RGB}{230 150 121}
% \definecolor{rot-25}{RGB}{243 205 187}
% \definecolor{rot-10}{RGB}{250 235 227}
% Main colors % Main colors
\setbeamercolor*{normal text}{fg=polynom-space-grey} \setbeamercolor*{normal text}{fg=polynom-space-grey}
\setbeamercolor*{structure}{fg=polynom-blue} \setbeamercolor*{structure}{fg=polynom-blue}
\setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-blue} \setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-blue}
\setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-blue-dark} \setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-blue-dark}
\setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-blue-darker} \setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-blue-darker}
...@@ -39,11 +59,18 @@ ...@@ -39,11 +59,18 @@
\setbeamercolor{section}{fg=polynom-space-grey} \setbeamercolor{section}{fg=polynom-space-grey}
\setbeamercolor{subsection}{fg=polynom-space-grey} \setbeamercolor{subsection}{fg=polynom-space-grey}
\setbeamercolor{subsubsection}{fg=polynom-space-grey} \setbeamercolor{subsubsection}{fg=polynom-space-grey}
% Blocks and special text % Blocks and special text
\setbeamercolor*{block title}{fg=palette primary.fg, bg=polynom-white} \setbeamercolor*{block title}{fg=palette primary.fg, bg=polynom-white}
\setbeamercolor{block body}{bg=polynom-white} \setbeamercolor{block body}{bg=polynom-white}
% \setbeamercolor*{example text}{fg=grun}
% \setbeamercolor{block title example}{bg=grun-25}
% \setbeamercolor{block body example}{bg=grun-10}
% \setbeamercolor*{alerted text}{fg=rot}
% \setbeamercolor{block title alerted}{bg=rot-25}
% \setbeamercolor{block body alerted}{bg=rot-10}
% banner page % banner page
\setbeamercolor{banner page}{bg=polynom-white, fg=polynom-space-grey} \setbeamercolor{banner page}{bg=polynom-white, fg=polynom-space-grey}
\setbeamercolor{banner page invert}{bg=polynom-space-grey, fg=white} \setbeamercolor{banner page invert}{bg=polynom-space-grey, fg=white}
......
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
\definecolor{polynom-blue-dark}{RGB} {24 57 148} \definecolor{polynom-blue-dark}{RGB} {24 57 148}
\definecolor{polynom-blue-darker}{RGB} {15 37 96} \definecolor{polynom-blue-darker}{RGB} {15 37 96}
\definecolor{polynom-space-grey}{RGB}{21 21 21} \definecolor{polynom-space-grey}{RGB}{51 51 51}
\definecolor{polynom-white}{RGB}{255 255 255} \definecolor{polynom-white}{RGB}{255 255 255}
\definecolor{polynom-red-lighter}{RGB}{255 176 161} \definecolor{polynom-red-lighter}{RGB} {255 176 161}
\definecolor{polynom-red-light}{RGB} {255 112 85} \definecolor{polynom-red-light}{RGB}{255 112 85}
\definecolor{polynom-red}{RGB} {255 62 25} \definecolor{polynom-red}{RGB} {255 62 25}
\definecolor{polynom-red-dark}{RGB} {148 36 15} \definecolor{polynom-red-dark}{RGB} {148 36 15}
\definecolor{polynom-red-darker}{RGB} {96 23 9} \definecolor{polynom-red-darker}{RGB} {96 23 9}
...@@ -21,38 +21,44 @@ ...@@ -21,38 +21,44 @@
\definecolor{polynom-green-dark}{RGB} {68 97 10} \definecolor{polynom-green-dark}{RGB} {68 97 10}
\definecolor{polynom-green-darker}{RGB} {32 45 4} \definecolor{polynom-green-darker}{RGB} {32 45 4}
\definecolor{black}{RGB}{0 0 0} \definecolor{black} {RGB}{ 0 0 0}
\setbeamercolor*{normal text}{fg=polynom-space-grey} \setbeamercolor*{normal text}{fg=polynom-space-grey}
\newcommand{\setPaletteBlue}{ \newcommand{\setPaletteBlue}{
\setbeamercolor*{structure}{fg=polynom-blue} \setbeamercolor*{structure}{fg=polynom-blue}
\setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-blue} \setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-blue}
\setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-blue-dark} \setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-blue-dark}
\setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-blue-darker} \setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-blue-darker}
\setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-blue-darker} \setbeamercolor{palette
quaternary}{fg=polynom-white,bg=polynom-blue-darker}
} }
\newcommand{\setPaletteRed}{ \newcommand{\setPaletteRed}{
\setbeamercolor*{structure}{fg=polynom-red} \setbeamercolor*{structure}{fg=polynom-red}
\setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-red} \setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-red}
\setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-red-dark} \setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-red-dark}
\setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-red-darker} \setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-red-darker}
\setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-red-darker} \setbeamercolor{palette
quaternary}{fg=polynom-white,bg=polynom-red-darker}
} }
\newcommand{\setPaletteGreen}{ \newcommand{\setPaletteGreen}{
\setbeamercolor*{structure}{fg=polynom-green} \setbeamercolor*{structure}{fg=polynom-green}
\setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-green} \setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-green}
\setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-green-dark} \setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-green-dark}
\setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-green-darker} \setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-green-darker}
\setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-green-darker} \setbeamercolor{palette
quaternary}{fg=polynom-white,bg=polynom-green-darker}
} }
\setPaletteBlue \setPaletteBlue
% Sidebar % Sidebar
\setbeamercolor*{sidebar}{parent=palette primary} \setbeamercolor*{sidebar}{parent=palette primary}
\setbeamercolor*{palette sidebar primary} {use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar primary}{use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar secondary} {use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar secondary}{use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar tertiary} {use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar tertiary}{use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar quaternary}{use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar quaternary}{use=normal text,fg=normal text.fg}
% Outer structure % Outer structure
......
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
\definecolor{polynom-blue-dark}{RGB} {24 57 148} \definecolor{polynom-blue-dark}{RGB} {24 57 148}
\definecolor{polynom-blue-darker}{RGB} {15 37 96} \definecolor{polynom-blue-darker}{RGB} {15 37 96}
\definecolor{polynom-space-grey}{RGB}{21 21 21} \definecolor{polynom-space-grey}{RGB}{51 51 51}
\definecolor{polynom-white}{RGB}{255 255 255} \definecolor{polynom-white}{RGB}{255 255 255}
\definecolor{polynom-red-lighter}{RGB}{255 176 161} \definecolor{polynom-red-lighter}{RGB} {255 176 161}
\definecolor{polynom-red-light}{RGB} {255 112 85} \definecolor{polynom-red-light}{RGB}{255 112 85}
\definecolor{polynom-red}{RGB} {255 62 25} \definecolor{polynom-red}{RGB} {255 62 25}
\definecolor{polynom-red-dark}{RGB} {148 36 15} \definecolor{polynom-red-dark}{RGB} {148 36 15}
\definecolor{polynom-red-darker}{RGB} {96 23 9} \definecolor{polynom-red-darker}{RGB} {96 23 9}
...@@ -21,41 +21,46 @@ ...@@ -21,41 +21,46 @@
\definecolor{polynom-green-dark}{RGB} {68 97 10} \definecolor{polynom-green-dark}{RGB} {68 97 10}
\definecolor{polynom-green-darker}{RGB} {32 45 4} \definecolor{polynom-green-darker}{RGB} {32 45 4}
\definecolor{black}{RGB}{0 0 0} \definecolor{black} {RGB}{ 0 0 0}
\setbeamercolor*{normal text}{fg=polynom-space-grey} \setbeamercolor*{normal text}{fg=polynom-space-grey}
\newcommand{\setPaletteBlue}{ \newcommand{\setPaletteBlue}{
\setbeamercolor*{structure}{fg=polynom-blue} \setbeamercolor*{structure}{fg=polynom-blue}
\setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-blue} \setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-blue}
\setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-blue-dark} \setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-blue-dark}
\setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-blue-darker} \setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-blue-darker}
\setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-blue-darker} \setbeamercolor{palette
quaternary}{fg=polynom-white,bg=polynom-blue-darker}
} }
\newcommand{\setPaletteRed}{ \newcommand{\setPaletteRed}{
\setbeamercolor*{structure}{fg=polynom-red} \setbeamercolor*{structure}{fg=polynom-red}
\setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-red} \setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-red}
\setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-red-dark} \setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-red-dark}
\setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-red-darker} \setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-red-darker}
\setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-red-darker} \setbeamercolor{palette
quaternary}{fg=polynom-white,bg=polynom-red-darker}
} }
\newcommand{\setPaletteGreen}{ \newcommand{\setPaletteGreen}{
\setbeamercolor*{structure}{fg=polynom-green} \setbeamercolor*{structure}{fg=polynom-green}
\setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-green} \setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-green}
\setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-green-dark} \setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-green-dark}
\setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-green-darker} \setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-green-darker}
\setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-green-darker} \setbeamercolor{palette
quaternary}{fg=polynom-white,bg=polynom-green-darker}
} }
\setPaletteBlue \setPaletteBlue
% Sidebar % Sidebar
\setbeamercolor*{sidebar}{parent=palette primary} \setbeamercolor*{sidebar}{parent=palette primary}
\setbeamercolor*{palette sidebar primary} {use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar primary}{use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar secondary} {use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar secondary}{use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar tertiary} {use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar tertiary}{use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar quaternary}{use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar quaternary}{use=normal text,fg=normal text.fg}
% Outer structure % Outer structure
\setbeamercolor{frametitle}{fg=polynom-space-grey} \setbeamercolor{frametitle}{fg=polynom-space-grey}
\setbeamercolor{title}{fg=polynom-space-grey} \setbeamercolor{title}{fg=polynom-space-grey}
......
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
\RequirePackage{ifxetex} \RequirePackage{ifxetex}
% For conditionals % For conditionals
\def\polynom@inner@false{f} \def\prjktn@inner@false{f}
\def\polynom@inner@true{t} \def\prjktn@inner@true{t}
\DeclareOptionBeamer{sectiontitles}{\def\polynom@inner@sectiontitles{#1}} \DeclareOptionBeamer{sectiontitles}{\def\prjktn@inner@sectiontitles{#1}}
\ExecuteOptionsBeamer{sectiontitles=t} % default value \ExecuteOptionsBeamer{sectiontitles=t} % default value
\ProcessOptionsBeamer \ProcessOptionsBeamer
% t= true, anything else disables them, t is default % t= true, anything else disables them, t is default
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
% #1: Color % #1: Color
% #2: Image path (can be empty)) % #2: Image path (can be empty))
\newcommand{\polynom@titlepagebox}[2]{ \newcommand{\prjktn@titlepagebox}[2]{
\tikz[overlay, remember picture] { \tikz[overlay, remember picture] {
\fill[color=#1] ($(current page.north west)$) rectangle \fill[color=#1] ($(current page.north west)$) rectangle
($(current page.north east)+(0,-\titlebarheight)$); ($(current page.north east)+(0,-\titlebarheight)$);
...@@ -32,14 +32,14 @@ ...@@ -32,14 +32,14 @@
} }
} }
\newcommand{\polynom@fullpagebox}[1]{ \newcommand{\prjktn@fullpagebox}[1]{
\tikz[overlay, remember picture] { \tikz[overlay, remember picture] {
\fill[color=#1] ($(current page.north west)$) rectangle \fill[color=#1] ($(current page.north west)$) rectangle
($(current page.south east)$); ($(current page.south east)$);
} }
} }
\newcommand{\polynom@inversetitlepagebox}[2]{ \newcommand{\prjktn@inversetitlepagebox}[2]{
\tikz[overlay, remember picture] { \tikz[overlay, remember picture] {
\fill[color=#1] ($(current page.south west)$) rectangle \fill[color=#1] ($(current page.south west)$) rectangle
($(current page.north east)+(0,-\titlebarheight)$); ($(current page.north east)+(0,-\titlebarheight)$);
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
} }
} }
\newcommand{\polynom@debug@cross}{ \newcommand{\prjktn@debug@cross}{
\tikz[overlay, remember picture] { \tikz[overlay, remember picture] {
\draw[color=red] (current page.north) \draw[color=red] (current page.north)
-- (current page.south); -- (current page.south);
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
%%% %%%
\defbeamertemplate{title page}{polynom}[1][]{ \defbeamertemplate{title page}{polynom}[1][]{
\usebeamercolor{palette primary} \usebeamercolor{palette primary}
\polynom@titlepagebox{bg}{#1} \prjktn@titlepagebox{bg}{#1}
\poly@titlepagetitle{\inserttitle}{\insertsubtitle} \poly@titlepagetitle{\inserttitle}{\insertsubtitle}
%\usebeamertemplate{footline}[polynom] %\usebeamertemplate{footline}[polynom]
} }
...@@ -107,10 +107,10 @@ ...@@ -107,10 +107,10 @@
\defbeamertemplate{section title}{polynom}[1][]{ \defbeamertemplate{section title}{polynom}[1][]{
\usebeamercolor{palette primary} \usebeamercolor{palette primary}
\polynom@titlepagebox{bg}{#1} \prjktn@titlepagebox{bg}{#1}
\poly@titlepagetitle{\insertsectionhead}{} \poly@titlepagetitle{\insertsectionhead}{}
} }
\if\polynom@inner@sectiontitles\polynom@inner@true \if\prjktn@inner@sectiontitles\prjktn@inner@true
\AtBeginSection[]{ \AtBeginSection[]{
\setbeamertemplate{section title}[polynom][\insertnextsectionimage] \setbeamertemplate{section title}[polynom][\insertnextsectionimage]
\begin{frame}[plain,noframenumbering] \begin{frame}[plain,noframenumbering]
...@@ -126,10 +126,10 @@ ...@@ -126,10 +126,10 @@
%%% %%%
\defbeamertemplate{subsection title}{polynom}{ \defbeamertemplate{subsection title}{polynom}{
\usebeamercolor{palette secondary} \usebeamercolor{palette secondary}
\polynom@titlepagebox{bg}{} \prjktn@titlepagebox{bg}{}
\poly@titlepagetitle{\insertsubsectionhead}{} \poly@titlepagetitle{\insertsubsectionhead}{}
} }
\if\polynom@inner@sectiontitles\polynom@inner@true \if\prjktn@inner@sectiontitles\prjktn@inner@true
\AtBeginSubsection[]{ \AtBeginSubsection[]{
\setbeamertemplate{subsection title}[polynom]{} \setbeamertemplate{subsection title}[polynom]{}
\begin{frame}[plain,noframenumbering] \begin{frame}[plain,noframenumbering]
...@@ -144,10 +144,10 @@ ...@@ -144,10 +144,10 @@
%%% %%%
\defbeamertemplate{subsubsection title}{polynom}{ \defbeamertemplate{subsubsection title}{polynom}{
\usebeamercolor{palette tertiary} \usebeamercolor{palette tertiary}
\polynom@titlepagebox{bg}{} \prjktn@titlepagebox{bg}{}
\poly@titlepagetitle{\insertsubsubsectionhead}{} \poly@titlepagetitle{\insertsubsubsectionhead}{}
} }
\if\polynom@inner@sectiontitles\polynom@inner@true \if\prjktn@inner@sectiontitles\prjktn@inner@true
\AtBeginSubsubsection[]{ \AtBeginSubsubsection[]{
\setbeamertemplate{subsubsection title}[polynom]{} \setbeamertemplate{subsubsection title}[polynom]{}
\begin{frame}[plain,noframenumbering] \begin{frame}[plain,noframenumbering]
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
%%% %%%
\defbeamertemplate{banner page}{polynom}[1][]{ \defbeamertemplate{banner page}{polynom}[1][]{
\usebeamercolor{banner page} \usebeamercolor{banner page}
\polynom@fullpagebox{bg} \prjktn@fullpagebox{bg}
\tikz[text width=0.75\paperwidth, text centered, overlay, remember picture]{ \tikz[text width=0.75\paperwidth, text centered, overlay, remember picture]{
\node (finalOne) at ($(current page.south west)+(0.5\paperwidth,0.5\paperheight)$) \node (finalOne) at ($(current page.south west)+(0.5\paperwidth,0.5\paperheight)$)
{\usebeamerfont{banner}#1}; {\usebeamerfont{banner}#1};
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
%%% %%%
\defbeamertemplate{banner page invert}{polynom}[1][]{ \defbeamertemplate{banner page invert}{polynom}[1][]{
\usebeamercolor{banner page invert} \usebeamercolor{banner page invert}
\polynom@fullpagebox{bg} \prjktn@fullpagebox{bg}
\tikz[text=fg, text centered, text width=0.75\paperwidth, overlay, remember picture]{ \tikz[text=fg, text centered, text width=0.75\paperwidth, overlay, remember picture]{
\node (finalOne) at ($(current page.south west)+(0.5\paperwidth,0.5\paperheight)$) \node (finalOne) at ($(current page.south west)+(0.5\paperwidth,0.5\paperheight)$)
{\usebeamerfont{banner}#1}; {\usebeamerfont{banner}#1};
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
%%% %%%
\defbeamertemplate{empty page}{polynom}[1][]{ \defbeamertemplate{empty page}{polynom}[1][]{
\usebeamercolor{banner page} \usebeamercolor{banner page}
\polynom@fullpagebox{bg} \prjktn@fullpagebox{bg}
} }
%%% %%%
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
%%% %%%
\defbeamertemplate{empty page invert}{polynom}[1][]{ \defbeamertemplate{empty page invert}{polynom}[1][]{
\usebeamercolor{banner page invert} \usebeamercolor{banner page invert}
\polynom@fullpagebox{bg} \prjktn@fullpagebox{bg}
} }
......
No preview for this file type
Markdown is supported
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