-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeamercolorthemebonbon.sty
70 lines (55 loc) · 2.56 KB
/
beamercolorthemebonbon.sty
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
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthemebonbon}[2017/07/30 Bonbon color theme]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Required packages and configuration. %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{color}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Color definitions. %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Body colors.
\definecolor{dirtywhite}{RGB}{250, 250, 250}
\definecolor{smokegray}{RGB}{40, 40, 40}
\definecolor{headblack}{RGB}{20, 20, 20}
% Title colors.
\definecolor{bloodred}{RGB}{168, 43, 51}
\definecolor{royalblue}{RGB}{53, 171, 223}
% Block colors.
\definecolor{lightash}{RGB}{230, 230, 230}
\definecolor{darkash}{RGB}{211, 211, 211}
\definecolor{mossgreen}{RGB}{34, 171, 66}
\definecolor{amber}{RGB}{233, 129, 45}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Color styles. %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Text and background colors.
\setbeamercolor{normal text}{fg=smokegray}
\setbeamercolor{background canvas}{bg=dirtywhite}
% Title page colors.
\setbeamercolor{title page}{fg=dirtywhite, bg=bloodred}
\setbeamercolor{title}{fg=dirtywhite}
\setbeamercolor{subtitle}{fg=dirtywhite}
\setbeamercolor{subsubtitle}{fg=headblack}
% TOC colors.
\setbeamercolor{section in toc}{fg=smokegray}
% Frame and section colors.
\setbeamercolor{frametitle}{fg=bloodred}
\setbeamercolor{section title}{fg=bloodred}
\setbeamercolor{section page}{fg=bloodred, bg=dirtywhite}
\setbeamercolor{subsection title}{fg=dirtywhite}
\setbeamercolor{subsection page}{fg=dirtywhite, bg=royalblue}
% List colors.
\setbeamercolor{itemize item}{fg=smokegray}
\setbeamercolor{enumerate item}{fg=smokegray}
\setbeamercolor{enumerate subitem}{fg=smokegray}
\setbeamercolor{description item}{fg=smokegray}
% Block colors.
\setbeamercolor{alerted text}{fg=amber}
\setbeamercolor{example text}{fg=mossgreen}
\setbeamercolor{block title}{fg=smokegray, bg=darkash}
\setbeamercolor{block body}{fg=smokegray, bg=lightash}
\setbeamercolor{block title alerted}{fg=amber, bg=darkash}
\setbeamercolor{block body alerted}{fg=smokegray, bg=lightash}
\setbeamercolor{block title example}{fg=mossgreen, bg=darkash}
\setbeamercolor{block body example}{fg=smokegray, bg=lightash}
\mode<all>