summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/beamer/base/themes/color/beamercolorthememonarca.sty
blob: 7548591de9f1097f7fabbd9048322f948b16e28d (plain)
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
% Copyright 2012 by Till Tantau and Max Dohse
% Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.
% 
% This theme is based on the crane theme by Till Tantau.
% the OVERLYSTYLISH option is taken from the albatross theme
%
% The colors are those of the Monarca/Monarch butterfly.
% http://en.wikipedia.org/wiki/Monarch_butterfly
% The Monarch is famous for its southward migration
% and northward return in summer from Canada to Mexico,
% which spans the life of three to four generations of the butterfly.
%

\definecolor{craneorange}{RGB}{252,187,6}
\definecolor{craneblue}{RGB}{4,6,76}

\DeclareOption{overlystylish}{
	\def\beamer@cta@do{\setbeamertemplate{background canvas}[vertical shading]%
		[bottom=craneorange,top=craneorange,middle=yellow]
	}
}
\ProcessOptions

\@ifundefined{beamer@cta@do}{}{\beamer@cta@do}

\mode<presentation>

\setbeamercolor{normal text}{fg=black,bg=craneorange}

\setbeamercolor{structure}{fg=black}

\setbeamercolor{palette primary}{fg=craneorange!75,bg=black}
\setbeamercolor{palette secondary}{fg=black,bg=craneorange}
\setbeamercolor{palette tertiary}{fg=craneorange!75,bg=black}
\setbeamercolor{palette quaternary}{fg=black,bg=white}

\setbeamercolor{titlelike}{parent=palette quaternary}

\setbeamercolor{block title}{fg=black,bg=white}
\setbeamercolor{block title alerted}{use=alerted text,fg=black,bg=alerted text.fg!75!bg}
\setbeamercolor{block title example}{use=example text,fg=black,bg=example text.fg!75!bg}

\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!25!bg}
\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!25!bg}
\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!25!bg}

\setbeamercolor{sidebar}{bg=craneorange!90}%70
  
\setbeamercolor{palette sidebar primary}{fg=black}
\setbeamercolor{palette sidebar secondary}{fg=black!75}
\setbeamercolor{palette sidebar tertiary}{fg=black!75}
\setbeamercolor{palette sidebar quaternary}{fg=black}

\setbeamercolor*{separation line}{}
\setbeamercolor*{fine separation line}{}

\mode
<all>