/
beamercolorthemeSFUBeamer.sty
124 lines (95 loc) · 4.29 KB
/
beamercolorthemeSFUBeamer.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
% Theme for OsloMet – Oslo Metropolitan University
%
% Implemented by:
% Nikolai Bjørnestøl Hansen (nikobjo@oslomet.no)
% Martin Helsø (martibhe@math.uio.no)
%
% Version 14-06-2020
%
% Adapted for SFU – Simon Fraser University by
% Javier Almonacid (2023)
\mode<presentation>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% Define Colors %%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Primary
\definecolor{SFULightRed}{cmyk}{0,1,0.82,0}
%% Secondary
\definecolor{SFURed}{cmyk}{0.07, 1, 0.82, 0.26}
\definecolor{SFUBlue}{cmyk}{0.95, 0.27, 0, 0.61}
\definecolor{SFUAllports}{cmyk}{0.9, 0.25, 0, 0.61}
\definecolor{SFUOlive}{cmyk}{0, 0.05, 0.9, 0.31}
\definecolor{SFUDarkRed}{cmyk}{0, 0.90, 0.72, 0.61}
%% Tertiary
%\definecolor{omlightblue}{RGB}{64, 228, 255}
%\definecolor{omdarkred}{RGB}{153, 0, 43}
%\definecolor{omdarkblue}{RGB}{0, 0, 100}
%\definecolor{omorange}{RGB}{255, 129, 0}
%% Basic black/white/gray
\definecolor{SFUDarkGray}{cmyk}{0, 0, 0, 0.75}
\definecolor{SFUDarkerGray}{cmyk}{0, 0, 0, 0.9}
\definecolor{SFUGray}{cmyk}{0, 0, 0, 0.1}
\definecolor{SFUBlack}{rgb}{0, 0, 0}
\definecolor{SFUWhite}{rgb}{1, 1, 1}
\colorlet{alert}{SFURed}
\colorlet{beameralert}{alert}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% Set up Colors %%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamercolor*{normal text}{fg = SFUBlack, bg = SFUWhite}
\setbeamercolor*{alerted text}{fg=SFURed}
\setbeamercolor*{example text}{fg=SFUBlue}
% We want \structure to give blue text,
% but local structure elements to be yellow
\setbeamercolor*{structure}{fg = SFUDarkGray} % For "Description"
\setbeamercolor*{local structure}{fg = SFUWhite}
% Many elements are black text on yellow background
\setbeamercolor{white on lightred}{fg = SFUWhite, bg = SFULightRed}
\setbeamercolor{lightred on white}{fg = SFULightRed, bg = SFUWhite}
\setbeamercolor{white on red}{fg = SFUWhite, bg = SFURed}
\setbeamercolor{white on darkgray}{fg = SFUWhite, bg = SFUDarkGray}
\setbeamercolor*{black on gray}{fg = SFUBlack, bg = SFUGray}
\setbeamercolor*{palette primary}{use=structure, fg=structure.fg}
\setbeamercolor*{palette secondary}{use=structure,fg=structure.fg!75!SFURed}
\setbeamercolor*{palette tertiary}{use=structure,fg=structure.fg!50!SFURed}
\setbeamercolor*{palette quaternary}{fg=SFURed}
\setbeamercolor*{palette sidebar secondary}{fg = omdarkblue}
\setbeamercolor*{palette sidebar quarternary}{fg = omdarkblue}
% All text elements should be in black,
% even though structure color is blue
\setbeamercolor{textlike}{parent = normal text}
\setbeamercolor*{titlelike}{parent = textlike}
\setbeamercolor*{title in head/foot}{parent=title}
\setbeamercolor*{title in sidebar}{parent=title}
\setbeamercolor*{author}{parent=textlike}
\setbeamercolor*{author in head/foot}{parent=author}
\setbeamercolor*{institute}{parent=textlike}
\setbeamercolor*{institute in head/foot}{parent=institute}
\setbeamercolor*{date}{parent=textlike}
\setbeamercolor*{date in head/foot}{parent=date}
\setbeamercolor*{section in toc}{parent=textlike}
\setbeamercolor*{section in head/foot}{parent=section}
\setbeamercolor*{headline}{parent = white on lightred}
\setbeamercolor*{footline}{parent = white on darkgray}
\setbeamercolor*{block body}{bg = SFUGray}
\setbeamercolor*{block body alerted}{parent = block body}
\setbeamercolor*{block body example}{parent = block body}
\setbeamercolor*{block title}{parent=white on lightred}
\setbeamercolor*{block title alerted}{use = alerted text, bg=alerted text.fg, fg = SFUWhite}
\setbeamercolor*{block title example}{use = example text, bg = example text.fg, fg = SFUWhite}
\setbeamercolor*{item projected}{parent = white on red}
\setbeamercolor*{itemize item}{fg = SFURed}
% Local structure is yellow, but yellow-on-white doesn't work
\setbeamercolor*{description item}{parent=structure}
\setbeamercolor*{bibliography item}{fg=SFUBlack}
\setbeamercolor*{bibliography entry author}{parent = textlike}
\setbeamercolor*{bibliography entry title}{parent = textlike}
\setbeamercolor*{bibliography entry location}{parent = textlike}
\setbeamercolor*{bibliography entry note}{parent = textlike}
\setbeamercolor*{abstract title}{parent=titlelike}
\setbeamercolor*{qed symbol}{parent = local structure}
%% Title page and section page should be white on lightred
\setbeamercolor*{title page}{parent = lightred on white}
\setbeamercolor*{section page}{parent = lightred on white}
\mode
<all>