beamercolorthemeGiraldo.sty
2.6 KB
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
% Copyright 2014 by Francisco Coelho
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
%
% (fc:) Not sure what the next command does...
%
%\@ifundefined{beamer@cta@do}{}{\beamer@cta@do}
%
\newif\ifstrongtitles
\strongtitlesfalse
%
\DeclareOptionBeamer{strongtitles}[true]{\csname strongtitles#1\endcsname}
\ProcessOptionsBeamer
\mode<presentation>
%
%
% Define UE colors
%
\definecolor{ue-red}{RGB}{158 27 50}
\definecolor{ue-gray}{RGB}{88 89 91}
\definecolor{ue-grey}{RGB}{88 89 91}
\definecolor{ue-black}{RGB}{0 0 0}
%
%
% Basic text elements
%
\setbeamercolor*{normal text}{fg=black,bg=white}
\setbeamercolor{alerted text}{fg=ue-red,bg=white}
\setbeamercolor*{title}{fg=ue-red,bg=white}
\ifstrongtitles
\setbeamercolor*{frametitle}{
fg=white,
bg=ue-red
}
\else
\setbeamercolor*{frametitle}{
fg=ue-red,
bg=white
}
\fi
%
%
% Frame constant elements
%
% \setbeamercolor*{separation line}{}
% \setbeamercolor*{fine separation line}{}
%
%
% Structures (lists, etc)
%
\setbeamercolor*{structure}{fg=ue-grey}
%\setbeamercolor{item projected}{fg=black}
%
%
% Frame block elements (theorems, etc)
%
\setbeamercolor*{block body}{bg=normal text.bg!90!black}
\setbeamercolor*{block body alerted}{bg=normal text.bg!90!black}
\setbeamercolor*{block title}{parent=structure,bg=ue-red,fg=white}
\setbeamercolor*{block title alerted}{
use={normal text,alerted text},
fg=alerted text.fg!75!normal text.fg,
bg=normal text.bg!75!black}
%
%
% Examples
%
\setbeamercolor*{example text}{fg=ue-grey!75!black}
%
\setbeamercolor*{block body example}{bg=normal text.bg!90!black}
\setbeamercolor*{block title example}{
use={normal text,example text},
fg=ue-red!75!normal text.fg,
bg=normal text.bg!75!black
}
%
%
% Palettes
%
\setbeamercolor{palette primary}{
use={structure,normal text},
fg=structure.fg,
bg=normal text.bg!75!black
}
%
\setbeamercolor{palette secondary}{
use={structure,normal text},
fg=structure.fg,
bg=normal text.bg!60!black
}
%
\setbeamercolor{palette tertiary}{
use={structure,normal text},
fg=structure.fg,
bg=normal text.bg!45!black
}
%
\setbeamercolor{palette quaternary}{
use={structure,normal text},
fg=structure.fg,
bg=normal text.bg!30!black
}
%
%
% Sidebar stuff
%
\setbeamercolor*{sidebar}{parent=palette primary}
\setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg}
\setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg}
\setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg}
\setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg}
%
%
%
\mode<all>