% =============================================
% UPB ADAPTIONS to FANCY BEAMER
% =============================================

% ---------------------------------------------
% colors
% ---------------------------------------------

% upb color scheme
% primary, barrierearm, cannot be mixed
\definecolor{upbultrablau}{HTML}{0025AA} % headings, text hightlighting
% secondary, not barrierearm, can be mixed
\definecolor{upbarktisblau}{HTML}{58C6C7} % not allowed with white font
% secondary, barrierearm, can be mixed
\definecolor{upbmeerblau}{HTML}{3AA9C7} % not allowed with white font
\definecolor{upbhimmelblau}{HTML}{2056AE}
\definecolor{upbsaphirblau}{HTML}{181C63}
\definecolor{upbirisviolett}{HTML}{7E3FA8}
\definecolor{upbfuchsiarot}{HTML}{B43093}
% tertiary, not barrierearm, cannot be mixed
\definecolor{upbgranatpink}{HTML}{EE288A} % only for triangles
\definecolor{upblimettengruen}{HTML}{A5CE42} % only for triangles

% redefines colors used in fancybeamer
\colorlet{red}{upbfuchsiarot}
\colorlet{green}{upbarktisblau}
\colorlet{blue}{upbhimmelblau}
\colorlet{orange}{upbirisviolett}
\colorlet{accent}{blue!80!white}
\colorlet{accenttwo}{red!80!white}
\ifdarkmode
\colorlet{red}{red!90!white}
\colorlet{green}{green!90!white}
\colorlet{blue}{blue!90!white}
\colorlet{orange}{orange!90!white}
\colorlet{accent}{accent!25!darkgray}
\colorlet{accenttwo}{accenttwo!25!darkgray}
\fi

% hack to force use of changed colors
\UpdateBoxColor{definition}{blue}
\UpdateBoxColor{example}{green}
\UpdateBoxColor{note}{red}

% use official logos
\setpaths{{pics/}{\FancyBeamerUPBdir/pics/}}
