% This is the color theme file of the AAU sidebar theme.
% Copyright (c) 2010-2013 by Jesper Kjær Nielsen <jkn@es.aau.dk>
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You can find the GNU General Public License at <http://www.gnu.org/licenses/>.

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthemeAAUsidebar}[2013/05/26 v1.3.0 The AAU Sidebar Beamer Theme]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Theme options and definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%theme options
\DeclareOptionBeamer{lightheaderbg}{\def\beamer@lightheaderbg{true}}
\ProcessOptionsBeamer

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%beamer specific options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>%refers to the first four modes (beamer,handout,second and trans). That is, to all modes except the article mode
{
  \definecolor{beamer@headercolor}{HTML}{3452ff}% light blue
  \definecolor{purpledag}{HTML}{533294}
  \definecolor{pinkdag}{HTML}{d42593}
  \definecolor{greendag}{HTML}{59b566}
  \definecolor{beamer@barcolor}{RGB}{0,0,0}% dark blue
  \definecolor{beamer@normaltextcolor}{RGB}{84,97,110}% gray blue

% If you want to use the old colours in the theme with the new logo, do the following
% a) uncomment the two lines below and comment out line 31, 31, and 42
%  \definecolor{beamer@barcolor}{rgb}{0.55,0.79,0.94}% old light blue
%  \definecolor{beamer@headercolor}{rgb}{0.00,0.41,0.66}% old dark blue
% b) open the aau_logo_new.eps-file and/or the aau_logo_new_circle.eps-file in a text editor
%  and change line 69 to
%  0 105 168 rG
% c) convert the eps-file to a pdf-file. This can be done by running
%  epstopdf aau_logo_new.eps
  \setbeamercolor{structure}{fg=beamer@headercolor}
  \setbeamercolor{normal text}{fg=beamer@normaltextcolor}
  \ifx\beamer@lightheaderbg\undefined% use a light, white header background
    \setbeamercolor{frametitle}{fg=white,bg=beamer@headercolor}
  \fi
  \setbeamercolor{AAUsidebar}{fg=beamer@barcolor,bg=beamer@headercolor}
}%end of beamer specific options

\mode<all>
