Commits

Joseph Wright committed c1fc507

Add monarca color teme (fixes issue #223)

Comments (0)

Files changed (2)

base/themes/color/beamercolorthememonarca.sty

+% Copyright 2012 by Till Tantau and Max Dohse
+%
+% 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.
+%
+
+\ProvidesPackageRCS $Header$
+
+\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>

doc/beamerug-color.tex

   This theme is the ``consequent'' version of |beetle| and uses white/black/gray throughout. It does not go particularly well with themes that use shadows.
 \end{colorthemeexample}
 
+\begin{colorthemeexample}{monarca}
+  The theme is based on the the colors of the Monarch butterfly.
+  
+  \themeauthor Max Dohse.
+\end{colorthemeexample}
+
 \begin{colorthemeexample}{seagull}
   Like the |dove| color theme, this theme is useful for printing on a black-and-white printer. However, it uses different shades of gray extensively, which may or may not look good on a transparency.
 \end{colorthemeexample}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.