summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamertheme-saintpetersburg/beamercolorthemeSaintPetersburg.sty
blob: f0851eb17734fb0249d01d3b20802027a883ee41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
%%
%% 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'.