%%
%% This is file `beamercolorthemeSaintPetersburg.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% beamercolorthemeSaintPetersburg.dtx  (with options: `package')
%% 
%% This is a generated file.
%% 
%% Copyright (C) 2017 by Ivan Gankevich <igankevich@ya.ru>
%% 
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3c of this license
%% or (at your option) any later version.  The latest version of this
%% license is in:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% and version 1.3c or later is part of all distributions of LaTeX version
%% 2005/12/01 or later.
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthemeSaintPetersburg}[2017/11/20 Saint Petersburg color theme]
\definecolor{spbuTerracotta}{cmyk}{.08,.91,.92,.33}
\definecolor{spbuGray}{cmyk}{.21,.11,.09,.22}
\definecolor{spbuWhite1}{RGB}{245,246,245}
\definecolor{spbuWhite2}{RGB}{230,231,230}
\definecolor{spbuWhite3}{RGB}{217,218,217}
\definecolor{spbuWhiteRed2}{RGB}{255,231,230}
\definecolor{spbuWhiteRed3}{RGB}{255,160,160}
\definecolor{spbuRed}{RGB}{200,40,40}
\definecolor{spbuDarkGray}{HTML}{404040}
\definecolor{spbuDarkGray2}{HTML}{5F7177}

\setbeamercolor{normal text}{fg=spbuDarkGray,bg=spbuWhite1}
\setbeamercolor{frametitle}{bg=spbuWhite1,fg=spbuTerracotta}
\setbeamercolor{title}{bg=spbuWhite1,fg=spbuTerracotta}
\setbeamercolor{subtitle}{parent=title}
\setbeamercolor{date}{parent=normal text}
\setbeamercolor{author}{parent=normal text}
\setbeamercolor{institute}{parent=normal text}
\setbeamercolor{background canvas}{parent=normal text}
\setbeamercolor{background}{parent=background canvas}
\setbeamercolor{math text}{fg=spbuDarkGray,bg=spbuWhite1}
\setbeamercolor{item}{parent=normal text}
\setbeamercolor{block title}{fg=spbuDarkGray,bg=spbuWhite3}
\setbeamercolor{block body}{fg=spbuDarkGray,bg=spbuWhite2}
\setbeamercolor{block title alerted}{fg=spbuRed,bg=spbuWhiteRed3}
\setbeamercolor{block body alerted}{fg=spbuDarkGray,bg=spbuWhiteRed2}
\setbeamercolor{block title example}{bg=spbuWhite3}
\setbeamercolor{block body example}{fg=spbuDarkGray,bg=spbuWhite2}

\setbeamercolor{section in toc}{parent=normal text}
\setbeamercolor{part page}{parent=frametitle}
\setbeamercolor{section page}{parent=frametitle}
\setbeamercolor{subsection page}{parent=frametitle}
\setbeamercolor{part title}{parent=frametitle,fg=spbuDarkGray}

\beamertemplatesolidbackgroundcolor{spbuWhite1}

\setbeamercolor{bibliography item}{parent=normal text}
\setbeamercolor*{bibliography entry title}{parent=normal text}
\setbeamercolor*{bibliography entry author}{parent=normal text}
\setbeamercolor*{bibliography entry location}{parent=normal text,fg=spbuDarkGray2}
\setbeamercolor*{bibliography entry journal}{parent=normal text,fg=spbuDarkGray2}
\setbeamercolor*{bibliography entry note}{parent=normal text}

\setbeamercolor{abstract title}{parent=frametitle}
\setbeamercolor{abstract}{parent=normal text}

\setbeamercolor{caption name}{parent=frametitle}
\setbeamercolor{caption}{parent=normal text}

\setbeamercolor{title in head/foot}{parent=title}
\setbeamercolor{subtitle in head/foot}{parent=subtitle}
\setbeamercolor{author in head/foot}{parent=author}
\setbeamercolor{date in head/foot}{parent=date}
\setbeamercolor{institute in head/foot}{parent=institute}

\makeatletter%
\if@spbuPoster%
\beamertemplatesolidbackgroundcolor{white}
\fi%
\makeatother%
\endinput
%%
%% End of file `beamercolorthemeSaintPetersburg.sty'.
