-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbeamercolorthemeprogressbar.sty
75 lines (51 loc) · 2.73 KB
/
beamercolorthemeprogressbar.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
\ProvidesPackage{beamercolorthemeprogressbar}[2007/06/21]
% Beamer theme by Sylvain Bouveret <sylvain[dot]bouveret[aT]cert[DoT]fr>
% sep. 2010 version 0.42
%
% based on the LaTeX-Beamer package :
% Copyright 2003 by Till Tantau <[email protected]>
%
% This program can be redistributed and/or modified under the terms
% of the GNU Public License, version 2.
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Some color definitions...
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{progressbar@bgyellow}{rgb}{0.95,0.95,0.85}
\definecolor{progressbar@bggray}{rgb}{0.9,0.9,0.9}
\definecolor{progressbar@fgwhite}{rgb}{0.2, 0.3, 0.5}
\definecolor{progressbar@bgblack}{rgb}{0.92, 0.93, 0.95}
\definecolor{progressbar@fgwhite}{rgb}{0.9, 0.9, 0.9}
\definecolor{progressbar@fgred}{rgb}{0.9, 0.25, 0.25}
\definecolor{progressbar@bgblack}{rgb}{0.0, 0.0, 0.0}
\definecolor{progressbar@darkbgblue}{rgb}{0.01,0.05,0.15}
\definecolor{progressbar@darkfgblue}{rgb}{0.25,0.45,0.5}
\mode<presentation>
\setbeamercolor{palette primary}{fg=progressbar@fgwhite,bg=progressbar@bgblack}
\setbeamercolor{palette secundary}{fg=progressbar@fgwhite,bg=progressbar@bgblack}
\setbeamercolor{palette tertiary}{fg=progressbar@fgwhite,bg=progressbar@bgblack}
\setbeamercolor{palette quaternary}{fg=progressbar@fgwhite,bg=progressbar@bgblack}
\setbeamercolor{structure}{fg=progressbar@fgwhite,bg=progressbar@bgblack}%white}
\setbeamercolor{background canvas}{parent=palette primary}
\setbeamercolor{section in head/foot}{parent=palette secundary}
\setbeamercolor{frametitle}{bg=progressbar@bgblack,fg=progressbar@fgwhite}%bgwhite!90!progressbar@fgblue}
\setbeamercolor{normal text}{fg=progressbar@fgwhite,bg=progressbar@bgblack}%black!40!red,bg=bg}
\setbeamercolor{alerted text}{fg=black!10!red,bg=bg}
\setbeamercolor{example text}{fg=black!40!green,bg=bg}
\setbeamercolor{gblock text}{fg=black!40!green,bg=bg}
\setbeamercolor{block title}{use=structure,fg=structure.fg,bg=progressbar@bggray}
\setbeamercolor{block title alerted}{fg=alerted text.fg,bg=alerted text.fg!10!bg}
\setbeamercolor{block title example}{fg=example text.fg,bg=example text.fg!10!bg}
\setbeamercolor{block title gblock}{fg=example text.fg,bg=example text.fg!10!bg}
\setbeamercolor{block body}{fg=white,bg=progressbar@bggray}
\setbeamercolor{block body alerted}{fg=normal text.fg,bg=alerted text.fg!10!bg}
\setbeamercolor{block body example}{fg=normal text.fg,bg=example text.fg!10!bg}
\setbeamercolor{block body gblock}{fg=normal text.fg,bg=example text.fg!10!bg}
\setbeamercolor{title}{fg=progressbar@fgred,bg=progressbar@bgblack}
\setbeamercolor{subtitle}{parent=title}
\setbeamercolor{item}{progressbar@darkfgblue}
\mode
<all>
\makeatother