-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeamercolortheme.sty
76 lines (63 loc) · 2.96 KB
/
beamercolortheme.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
71
72
73
74
75
76
\mode<presentation>
% Source of color composition: https://colorhunt.co/palette/f4eeffdcd6f7a6b1e1424874
\definecolor{important-font-color}{HTML}{424874}
\definecolor{primary-color}{HTML}{A6B1E1}
\definecolor{secondary-color}{HTML}{DCD6F7}
\definecolor{tertiary-color}{HTML}{F4EEFF}
% RED!
\definecolor{darkRed}{HTML}{CC3636}
\usecolortheme[named=primary-color]{structure}
%% Palette:
\setbeamercolor{palette primary}{fg=important-font-color, bg=primary-color} % Default: right bottom field
% > Used for frame headings, title heading, title in footbar
\setbeamercolor{palette secondary}{fg=important-font-color, bg=secondary-color} % Default: left bottom field
% > Used for author and date in footer, example blocks
\setbeamercolor{palette tertiary}{fg=black, bg=tertiary-color} % Mid bottom and top field
% > Used for basic blocks
\setbeamercolor{palette quaternary}{fg=black, bg=lightBeige}
% > Used for nothing :)
%% Title & Heading: - somehow does not work with parents={palette primary}
\setbeamercolor{titlelike}{bg=primary-color, fg=important-font-color}
\setbeamercolor{author}{bg=secondary-color, fg=important-font-color}
\setbeamercolor{frametitle}{bg=primary-color, fg=white}
%% Boxes: TODO
\setbeamercolor{block title}{parent={palette secondary}, fg=black}
\setbeamercolor{block body}{use={palette tertiary}, bg=palette tertiary.bg!10!white}
\setbeamercolor{block title example}{parent={palette tertiary}, fg=black}
\setbeamercolor{block body example}{use={block title example}, bg=block title example.bg!10!white}
\setbeamercolor{block title alerted}{fg=white, bg=darkRed}
%\setbeamercolor{block body alerted}{use={block title alerted}, bg=block title alerted.bg!10!white}
%% Playing around with coloring needlessly:
\setbeamercolor*{mini frame}{fg=white, bg=primary-color}
\setbeamercolor{section in head/foot}{parent={mini frame}}
\setbeamercolor{author in head/foot}{fg=primary-color, bg=white}
\setbeamercolor{title in head/foot}{fg=important-font-color , bg=white}
\setbeamercolor{date in head/foot}{fg=primary-color, bg=white}
\setbeamercolor{page number in head/foot}{fg=important-font-color}
\setbeamercolor{lower separation line head}{bg=secondary-color}
%% Minor tinkering
\setbeamercolor{itemize item}{fg=important-font-color}
\setbeamercolor{itemize subitem}{fg=primary-color}
\setbeamercolor{itemize subsubitem}{fg=primary-color}
\setbeamercolor{enumerate item}{fg=important-font-color}
\setbeamercolor{enumerate subitem}{fg=primary-color}
\setbeamercolor{enumerate subsubitem}{fg=primary-color}
\setbeamercolor{section in toc}{fg=black} % Does not color the enum shape :(
\setbeamercolor{subsection in toc}{fg=important-font-color}
\setbeamercolor{caption name}{fg=important-font-color}
%caption name
\hypersetup{ % TODO
colorlinks = true,
linkcolor =.,
anchorcolor =.,
citecolor =.,
filecolor =.,
urlcolor = primary-color,
citebordercolor = 0 0 0,
filebordercolor = 0 0 0,
linkbordercolor = 0 0 0,
menubordercolor = 0 0 0,
urlbordercolor = 0 0 0,
runbordercolor = 0 0 0
}
\mode<all>