% Beamer configuration for slides.org
%
%  Copyright (C) 2019 Mike Gerwitz
%
%  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 should have received a copy of the GNU General Public License
%  along with this program.  If not, see <http://www.gnu.org/licenses/>.

\beamertemplatenavigationsymbolsempty
\setbeamerfont{title}{size = \Large}

\setbeamertemplate{headline}{}
\setbeamertemplate{page number in head/foot}{}

% Palette can be found at <https://en.wikipedia.org/wiki/Tango_Desktop_Project>
% (uppercase seems to be necessary in some contexts for hex values)
\definecolor{TangoLight}{HTML}{eeeeec}
\definecolor{TangoDark}{HTML}{2e3436}
\definecolor{TangoBlue}{HTML}{729FCF}

\setbeamercolor{background canvas}{bg=black}
\setbeamercolor{subtitle}{fg=TangoLight}
\setbeamercolor{normal text}{fg=TangoLight}
\setbeamercolor{alerted text}{fg=TangoBlue}

\setbeamercolor{author in head/foot}{bg=TangoDark}
\setbeamercolor{title in head/foot}{bg=TangoDark}
\setbeamercolor{date in head/foot}{bg=TangoDark}

\setbeamercolor{frametitle}{bg=TangoDark}
\setbeamercolor{frametitle right}{bg=TangoDark}

\setbeamertemplate{blocks}[shadow=false]
\setbeamercolor{block title}{bg=TangoDark}
\setbeamercolor{block body}{bg=TangoDark}

\usefonttheme{serif}

\usepackage{ccfonts}
\usepackage[T1]{fontenc}
\usepackage{color}
\usepackage[backend=biber]{biblatex}
\usepackage{color}
\usepackage{listings}

\def\subskip{\vskip0.5in}
\def\medsubskip{\vskip0.25in}
\def\smallsubskip{\vskip0.15in}

% Centering kluge (\aftergroup needed if slide does not contain subsections
% like notes in the TeX output, so just do both and hope for the best).
\def\fullslidetext{\Huge\aftergroup\centering\centering}
\def\fullsubtext{\subskip\Large}
