% Copyright 2021 by Jan Benda
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% "aptero" is a nick name for "Apteronotus" - a genus of weakly electric fish.

\ProvidesPackage{beamercolorthemeaptero}[2021/02/28 color theme for lines inner and outer beamer theme]

% muted colors:
\definecolor{red}{rgb}{0.753,0.153,0.090}
\definecolor{orange}{rgb}{0.969,0.502,0.090}
\definecolor{yellow}{rgb}{0.941,0.843,0.188}
\definecolor{lightgreen}{rgb}{0.667,0.718,0.106}
\definecolor{green}{rgb}{0.251,0.502,0.125}
\definecolor{darkgreen}{rgb}{0.000,0.439,0.188}
\definecolor{cyan}{rgb}{0.251,0.655,0.529}
\definecolor{lightblue}{rgb}{0.000,0.529,0.592}
\definecolor{blue}{rgb}{0.125,0.376,0.655}
\definecolor{purple}{rgb}{0.325,0.216,0.608}
\definecolor{magenta}{rgb}{0.529,0.216,0.439}
\definecolor{pink}{rgb}{0.816,0.188,0.314}
\definecolor{white}{rgb}{1.000,1.000,1.000}
\definecolor{gray}{rgb}{0.627,0.627,0.627}
\definecolor{black}{rgb}{0.000,0.000,0.000}

\mode<presentation>

% inner colors:

\setbeamercolor{normal text}{fg=black, bg=}

\setbeamercolor{structure}{fg=blue}
\setbeamercolor{alerted text}{fg=red}

%\setbeamercolor{math text}{parent=normal text}  % this kills coloring of \url{}

\setbeamercolor{titlelike}{parent=structure}

\setbeamercolor{frametitle}{parent=titlelike}
\setbeamercolor{framesubtitle}{parent=titlelike}
\setbeamercolor{frametitle line}{parent=titlelike}

\setbeamercolor{item projected}{fg=white, bg=black!60}
\setbeamercolor{subitem projected}{fg=white, bg=black!60}

\setbeamercolor{itemize item}{parent=normal text}
\setbeamercolor{itemize item check}{parent=normal text, fg=green}
\setbeamercolor{itemize item uncheck}{parent=normal text, fg=red}
\setbeamercolor{itemize subitem}{parent=normal text}

\setbeamercolor{enumerate item}{parent=normal text}
\setbeamercolor{enumerate subitem}{parent=normal text}

\setbeamercolor{block title}{use=structure, fg=white, bg=structure.fg}
\setbeamercolor{block body}{use=normal text, fg=normal text.fg, bg=normal text.fg!15}
\setbeamercolor{block line top}{fg=}
\setbeamercolor{block line middle}{use=block title, fg=block title.bg}
\setbeamercolor{block line bottom}{use=block title, fg=block title.bg}

\setbeamercolor{block title alerted}{use=alerted text, parent=block title, bg=alerted text.fg}
\setbeamercolor{block body alerted}{use={alerted text, normal text}, fg=alerted text.fg, bg=normal text.fg!15}
\setbeamercolor{block line alerted top}{fg=}
\setbeamercolor{block line alerted middle}{use=block title alerted, fg=block title alerted.bg}
\setbeamercolor{block line alerted bottom}{use=block title alerted, fg=block title alerted.bg}

\setbeamercolor{block title example}{parent=block title, bg=lightgreen}
\setbeamercolor{block body example}{use=normal text, fg=normal text.fg, bg=normal text.fg!15}
\setbeamercolor{block line example top}{fg=}
\setbeamercolor{block line example middle}{use=block title example, fg=block title example.bg}
\setbeamercolor{block line example bottom}{use=block title example, fg=block title example.bg}

\setbeamercolor{theorem title}{parent=block title, bg=orange}
\setbeamercolor{theorem body}{use={normal text, theorem title}, fg=normal text.fg, bg=theorem title.bg!40}
\setbeamercolor{theorem line top}{fg=}
\setbeamercolor{theorem line middle}{use=theorem title, fg=theorem title.bg}
\setbeamercolor{theorem line bottom}{use=theorem title, fg=theorem title.bg}

\setbeamercolor{message}{parent=block title alerted}
\setbeamercolor{message line top}{fg=}
\setbeamercolor{message line bottom}{fg=}
\setbeamercolor{message symbol}{fg=}
\setbeamercolor{message item}{use=alerted text, fg=alerted text.fg}
\setbeamercolor{message item symbol}{use=alerted text, fg=alerted text.fg}

\setbeamercolor{quote environments}{use=normal text, fg=normal text.fg, bg=normal text.fg!15}

\setbeamercolor{verse}{parent=quote environments}
\setbeamercolor{verse line top}{fg=}
\setbeamercolor{verse line bottom}{fg=}

\setbeamercolor{quote}{parent=quote environments}
\setbeamercolor{quote symbol}{parent=alerted text}
\setbeamercolor{quote source}{}
\setbeamercolor{quote line top}{fg=}
\setbeamercolor{quote line bottom}{fg=}

\setbeamercolor{quotation}{parent=quote environments}
\setbeamercolor{quotation symbol}{parent=structure}
\setbeamercolor{quotation source}{}
\setbeamercolor{quotation line top}{fg=}
\setbeamercolor{quotation line bottom}{fg=}

\setbeamercolor{section in toc}{parent=normal text}
\setbeamercolor{subsection in toc}{parent=normal text}

\setbeamercolor{title}{parent=titlelike}
\setbeamercolor{subtitle}{parent=title}
\setbeamercolor{author}{parent=normal text}
\setbeamercolor{institute}{parent=normal text}

\setbeamercolor{title page}{parent=normal text}
\setbeamercolor{title page graphic line}{use=title, fg=title.fg}
\setbeamercolor{title page title line}{use=title, fg=title.fg}

\setbeamercolor{section name}{parent=structure}
\setbeamercolor{section name separator}{parent=section name}
\setbeamercolor{section title}{parent=titlelike}

\setbeamercolor{subsection name}{parent=structure}
\setbeamercolor{subsection name separator}{parent=section name}
\setbeamercolor{subsection title}{parent=titlelike}

% outer colors:

\setbeamercolor{background}{bg=}

\setbeamercolor{footline}{fg=black!75, bg=}
\setbeamercolor{footline line}{parent=footline}
\setbeamercolor{footline separator}{parent=footline}

% hyper ref colors:

\hypersetup{colorlinks=true, allcolors=blue}

\mode
<all>
