-
Notifications
You must be signed in to change notification settings - Fork 11
/
beamercolorthemeCodeCourse.sty
130 lines (103 loc) · 3.31 KB
/
beamercolorthemeCodeCourse.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
125
126
127
128
129
130
% -----------------------------------------------------------------------------
% Beamer colour theme: CodeCourse
% Copyright (c) 2019-2021 Aleksandra R. Glesaaen ([email protected])
% -----------------------------------------------------------------------------
% Requirements
\ProvidesPackage{beamercolorthemeCodeCourse}
\RequirePackage{xcolor}
% ------------------ %
% Colour definitions %
% ------------------ %
\definecolor{Tropiteal}{RGB}{0,168,198}
\definecolor{TealDrop}{RGB}{64,192,203}
\definecolor{WhiteTrash}{RGB}{249,242,231}
\definecolor{AtomicBikini}{RGB}{174,226,57}
\definecolor{FeebleWeek}{RGB}{143,190,0}
\definecolor{ICantExpress}{RGB}{28,20,13}
\definecolor{Marty}{RGB}{250,42,0}
% ------------ %
% Text colours %
% ------------ %
\setbeamercolor*{normal text}{fg=ICantExpress}
\setbeamercolor*{title}{fg=WhiteTrash}
\setbeamercolor*{author}{fg=ICantExpress}
\setbeamercolor*{institute}{use=author, parent=author}
\setbeamercolor*{date}{use=author, parent=author}
\setbeamercolor*{section title}{use=title, parent=title}
\setbeamercolor*{frametitle}{fg=Tropiteal}
\setbeamercolor*{framesubtitle}{fg=TealDrop}
\setbeamercolor*{frame numbering}{fg=Tropiteal}
% Bibliography
\setbeamercolor*{bibliography item}{fg=FeebleWeek}
\setbeamercolor*{bibliography entry author}{fg=Tropiteal}
\setbeamercolor*{bibliography entry location}{fg=TealDrop}
\setbeamercolor*{bibliography entry title}{fg=ICantExpress}
% ------------------ %
% Background colours %
% ------------------ %
\setbeamercolor*{background canvas}{bg=WhiteTrash}
\setbeamercolor*{title page background canvas}{bg=Tropiteal}
\setbeamercolor*{section page background canvas}{
use=title page background canvas,
parent=title page background canvas
}
% ------------- %
% Block colours %
% ------------- %
% For the boxes
%\setbeamercolor*{palette base}{bg=Tropiteal}
%\setbeamercolor*{palette primary}{bg=ICantExpress,fg=WhiteTrash}
%\setbeamercolor*{palette secondary}{bg=Tropiteal,fg=WhiteTrash}
%\setbeamercolor*{palette tertiary}{bg=Tropiteal,fg=WhiteTrash}
%\setbeamercolor*{palette quatenary}{bg=Tropiteal,fg=WhiteTrash}
% Regular block
\setbeamercolor*{block title}{
use={background canvas},
fg=TealDrop,
bg=background canvas.bg
}
\setbeamercolor*{block box}{
use={block title,background canvas},
fg=block title.fg,
bg=background canvas.bg
}
\setbeamercolor*{block body}{
use=normal text,
parent=normal text
}
% Alerted block
\setbeamercolor*{block title alerted}{
use={background canvas},
fg=Marty,
bg=background canvas.bg
}
\setbeamercolor*{block box alerted}{
use={block title alerted,background canvas},
fg=block title alerted.fg,
bg=background canvas.bg
}
\setbeamercolor*{block body alerted}{
use=normal text,
parent=normal text
}
% Example block
\setbeamercolor*{block title example}{
use={background canvas},
fg=FeebleWeek,
bg=background canvas.bg
}
\setbeamercolor*{block box example}{
use={block title example,background canvas},
fg=block title example.fg,
bg=background canvas.bg
}
\setbeamercolor*{block body example}{
use=normal text,
parent=normal text
}
% ---------------------- %
% Items and enumerations %
% ---------------------- %
\setbeamercolor*{item}{fg=FeebleWeek,bg=WhiteTrash}
\setbeamercolor*{alerted text}{fg=AtomicBikini,bg=WhiteTrash}
\setbeamercolor*{section in toc}{fg=TealDrop,bg=WhiteTrash}