forked from anishathalye/gemini
-
Notifications
You must be signed in to change notification settings - Fork 1
/
beamercolorthemecml.sty
58 lines (46 loc) · 1.69 KB
/
beamercolorthemecml.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
% Gemini theme
% https://github.com/anishathalye/gemini
% ====================
% Definitions
% ====================
% Colors from http://web.mit.edu/graphicidentity/colors.html
% \definecolor{cmlred}{RGB}{214,0,28} % logo colour
\definecolor{cmlred}{RGB}{238,44,42}
\definecolor{cmlyellow}{RGB}{255,205,0}
\definecolor{cmlorange}{RGB}{255,103,31}
% Extra colors
\definecolor{lightgray}{RGB}{240, 240, 240}
\definecolor{lightorange}{RGB}{255, 245, 242}
% ====================
% Theme
% ====================
% Basic colors
\setbeamercolor{palette primary}{fg=black,bg=white}
\setbeamercolor{palette secondary}{fg=black,bg=white}
\setbeamercolor{palette tertiary}{bg=black,fg=white}
\setbeamercolor{palette quaternary}{fg=black,bg=white}
\setbeamercolor{structure}{fg=cmlred}
% Headline
\setbeamercolor{headline}{fg=white,bg=cmlorange}
% Block
\setbeamercolor{block title}{fg=cmlorange,bg=white}
\setbeamercolor{block separator}{bg=black}
\setbeamercolor{block body}{fg=black,bg=white}
% Alert Block
\setbeamercolor{block alerted title}{fg=cmlred,bg=cmlyellow}
\setbeamercolor{block alerted separator}{bg=black}
\setbeamercolor{block alerted body}{fg=black,bg=cmlyellow}
% Example Block
\setbeamercolor{block example title}{fg=cmlorange,bg=lightgray}
\setbeamercolor{block example separator}{bg=black}
\setbeamercolor{block example body}{fg=black,bg=lightgray}
% Heading
\setbeamercolor{heading}{fg=black}
% Itemize
\setbeamercolor{item}{fg=cmlorange}
% Bibliography
\setbeamercolor{bibliography item}{fg=black}
\setbeamercolor{bibliography entry author}{fg=black}
\setbeamercolor{bibliography entry title}{fg=black}
\setbeamercolor{bibliography entry location}{fg=black}
\setbeamercolor{bibliography entry note}{fg=black}