% Copyright 2010 by Philipp Zech
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.

\mode<presentation>


% =========================================================================
% A good guess on what the UA colors could be.
% -- The website is unfortunately not to the point there.
\definecolor{uablue}{RGB}{0,61,100}
\colorlet{uablue100}{uablue}
\colorlet{uablue75} {uablue!75!white}
\colorlet{uablue50} {uablue!50!white}
\colorlet{uablue25} {uablue!25!white}
\colorlet{uablue10} {uablue!10!white}
\colorlet{uablue5}  {uablue!5!white}

\definecolor{uared}{RGB}{126,0,47}
\colorlet{uared100}{uared}
\colorlet{uared75} {uared!75!white}
\colorlet{uared50} {uared!50!white}
\colorlet{uared25} {uared!25!white}
\colorlet{uared10} {uared!10!white}
\colorlet{uared5}  {uared!5!white}

\definecolor{vividbrown}{RGB}{215,154,70}
\colorlet{vividbrown100}{vividbrown}
\colorlet{vividbrown75} {vividbrown!75!white}
\colorlet{vividbrown50} {vividbrown!50!white}
\colorlet{vividbrown25} {vividbrown!25!white}
\colorlet{vividbrown10} {vividbrown!10!white}
\colorlet{vividbrown5}  {vividbrown!5!white}
% =========================================================================


\ifbeamer@dark%

  \setbeamercolor{structure}{fg=white}%
  \setbeamercolor{normal text}{fg=white}%
  \setbeamercolor{frametitle}{fg=white}%

\else%

  \setbeamercolor{structure}{fg=black}%
  \setbeamercolor{normal text}{fg=black}%
  \setbeamercolor{frametitle}{fg=uablue}%

  \setbeamercolor{frame number in foot}{fg=white}%

  \ifbeamer@darktitle%
      \setbeamercolor{title}{fg=white}%
      \setbeamercolor{subtitle}{fg=white}%
  \else
      \setbeamercolor{subtitle}{fg=uared}%
  \fi

\fi


% =======================================================================
% alert color
\setbeamercolor{alerted text}{fg=uared}
% =======================================================================

% =======================================================================
% blocks
\setbeamercolor{block title}{use=structure,fg=white,bg=uablue}
\setbeamercolor{block title alerted}{use=alerted text,fg=white,bg=uared}
\setbeamercolor{block title example}{use=example text,fg=white,bg=uablue}

\setbeamercolor{block body}        {fg=black,use=block title,bg=uablue10}
\setbeamercolor{block body alerted}{fg=black,use=block title alerted,bg=uared10}
\setbeamercolor{block body example}{fg=black,use=block title
example,bg=uablue10}
% =======================================================================


\mode
<all>
