% Copyright 2007 by Till Tantau
% Copyright 2015 by Vedran Mileti\'c, Joseph Wright
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file LICENSE.md for more details.
\PassOptionsToPackage{onlysmall}{beamerfontthemestructurebold}

\DeclareOptionBeamer{hooks}[true]{\PassOptionsToPackage{hooks=#1}{beamerouterthemetree}}
\DeclareOptionBeamer{onlysmall}{\PassOptionsToPackage{onlysmall}{beamerfontthemestructurebold}}
\DeclareOptionBeamer{onlylarge}{\PassOptionsToPackage{onlysmall}{beamerfontthemestructurebold}}

\ProcessOptionsBeamer

\mode<presentation>

\def\beamer@theme@col{\setbeamercolor{separation line}{use=structure,bg=structure.fg!50!bg}}
\DeclareOptionBeamer{bars}{\def\beamer@theme@col{\usecolortheme{whale}}}
\ProcessOptionsBeamer

\usefonttheme[onlysmall]{structurebold}
\beamer@theme@col
\useoutertheme{tree}

\mode
<all>
