| 1 |
% Copyright 2012 by Till Tantau and Max Dohse |
| 2 |
% Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright |
| 3 |
% |
| 4 |
% This file may be distributed and/or modified |
| 5 |
% |
| 6 |
% 1. under the LaTeX Project Public License and/or |
| 7 |
% 2. under the GNU Public License. |
| 8 |
% |
| 9 |
% See the file LICENSE.md for more details. |
| 10 |
% |
| 11 |
% This theme is based on the crane theme by Till Tantau. |
| 12 |
% the OVERLYSTYLISH option is taken from the albatross theme |
| 13 |
% |
| 14 |
% The colors are those of the Monarca/Monarch butterfly. |
| 15 |
% https://en.wikipedia.org/wiki/Monarch_butterfly |
| 16 |
% The Monarch is famous for its southward migration |
| 17 |
% and northward return in summer from Canada to Mexico, |
| 18 |
% which spans the life of three to four generations of the butterfly. |
| 19 |
% |
| 20 |
|
| 21 |
\definecolor{craneorange}{RGB}{252,187,6} |
| 22 |
\definecolor{craneblue}{RGB}{4,6,76} |
| 23 |
|
| 24 |
\DeclareOption{overlystylish}{ |
| 25 |
\def\beamer@cta@do{\setbeamertemplate{background canvas}[vertical shading]% |
| 26 |
[bottom=craneorange,top=craneorange,middle=yellow] |
| 27 |
} |
| 28 |
} |
| 29 |
\ProcessOptions |
| 30 |
|
| 31 |
\@ifundefined{beamer@cta@do}{}{\beamer@cta@do} |
| 32 |
|
| 33 |
\mode<presentation> |
| 34 |
|
| 35 |
\setbeamercolor{normal text}{fg=black,bg=craneorange} |
| 36 |
|
| 37 |
\setbeamercolor{structure}{fg=black} |
| 38 |
|
| 39 |
\setbeamercolor{palette primary}{fg=craneorange!75,bg=black} |
| 40 |
\setbeamercolor{palette secondary}{fg=black,bg=craneorange} |
| 41 |
\setbeamercolor{palette tertiary}{fg=craneorange!75,bg=black} |
| 42 |
\setbeamercolor{palette quaternary}{fg=black,bg=white} |
| 43 |
|
| 44 |
\setbeamercolor{titlelike}{parent=palette quaternary} |
| 45 |
|
| 46 |
\setbeamercolor{block title}{fg=black,bg=white} |
| 47 |
\setbeamercolor{block title alerted}{use=alerted text,fg=black,bg=alerted text.fg!75!bg} |
| 48 |
\setbeamercolor{block title example}{use=example text,fg=black,bg=example text.fg!75!bg} |
| 49 |
|
| 50 |
\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!25!bg} |
| 51 |
\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!25!bg} |
| 52 |
\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!25!bg} |
| 53 |
|
| 54 |
\setbeamercolor{sidebar}{bg=craneorange!90}%70 |
| 55 |
|
| 56 |
\setbeamercolor{palette sidebar primary}{fg=black} |
| 57 |
\setbeamercolor{palette sidebar secondary}{fg=black!75} |
| 58 |
\setbeamercolor{palette sidebar tertiary}{fg=black!75} |
| 59 |
\setbeamercolor{palette sidebar quaternary}{fg=black} |
| 60 |
|
| 61 |
\setbeamercolor*{separation line}{} |
| 62 |
\setbeamercolor*{fine separation line}{} |
| 63 |
|
| 64 |
\mode |
| 65 |
<all> |