% Copyright 2009, 2020 Stefan Huber <shuber@sthu.org>


\mode<presentation>

\definecolor{maincolor}{rgb}{0.2,0.2,0.7}


\setbeamercolor{structure}{fg=maincolor}
\setbeamercolor{alerted text}{fg=maincolor}

\setbeamercolor{palette primary}{fg=white,bg=maincolor!70}
\setbeamercolor{palette secondary}{fg=white,bg=maincolor!80}
\setbeamercolor{palette tertiary}{fg=white,bg=maincolor!90}
\setbeamercolor{palette quaternary}{fg=white,bg=maincolor}

\setbeamercolor{titlelike}{parent=palette quaternary}
\setbeamercolor{footline}{parent=titlelike}
\setbeamercolor{footline page}{parent=palette secondary}

\setbeamercolor{block title}{fg=white,bg=maincolor}
\setbeamercolor{block title alerted}{use=alerted text,fg=white,bg=alerted text.fg!75!bg}
\setbeamercolor{block title example}{use=example text,fg=white,bg=example text.fg!75!bg}

\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!10!bg}
\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!25!bg}
\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!25!bg}

\setbeamercolor{sidebar}{bg=maincolor!70}
  
\setbeamercolor{palette sidebar primary}{fg=white}
\setbeamercolor{palette sidebar secondary}{fg=white!75}
\setbeamercolor{palette sidebar tertiary}{fg=white!75}
\setbeamercolor{palette sidebar quaternary}{fg=white}

\setbeamercolor*{separation line}{}
\setbeamercolor*{fine separation line}{}

\mode
<all>
