Code

Initial version of a color theme.
authorSebastian Harl <sh@tokkee.org>
Thu, 11 Apr 2013 20:03:48 +0000 (22:03 +0200)
committerSebastian Harl <sh@tokkee.org>
Thu, 11 Apr 2013 20:03:48 +0000 (22:03 +0200)
Makefile
beamercolorthemetokkee.sty [new file with mode: 0644]
beamerthemetokkee.sty

index 01f86745df90cf1a0ccd61d60edee8fafab69fdb..02753587e7c3825eeeffe44627997ecada3dbacf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ TEXMFHOME := $(shell kpsewhich -expand-var \$$TEXMFHOME)
 
 all: example.pdf
 
-example.pdf: example.tex beamerthemetokkee.sty tokkee_logo.* Makefile
+example.pdf: example.tex beamerthemetokkee.sty beamercolorthemetokkee.sty tokkee_logo.* Makefile
        # the default titlegraphic requires the presentation to be compiled twice
        pdflatex example.tex
        pdflatex example.tex
diff --git a/beamercolorthemetokkee.sty b/beamercolorthemetokkee.sty
new file mode 100644 (file)
index 0000000..5bcebc0
--- /dev/null
@@ -0,0 +1,20 @@
+\ProvidesPackage{beamercolorthemetokkee}%
+       [2013/04/11 v0.01 tokkee's utilities/add-ons for LaTeX beamer]
+
+% inherit from the default color theme
+\usecolortheme{default}
+
+\definecolor{tokkeeblue}{rgb}{0, .2, .486}
+
+\mode<presentation>
+
+\setbeamercolor{title}{fg=tokkeeblue}
+
+\setbeamercolor{frametitle}{fg=tokkeeblue}
+
+\setbeamercolor{itemize item}{fg=black}
+\setbeamercolor{itemize subitem}{fg=black}
+\setbeamercolor{itemize subsubitem}{fg=black}
+
+\mode
+<all>
index 0e68b0d951d356cf2ad9aa203505aeb4aa60509a..89044dfcb272d1687da0ef987f21c9679f27534b 100644 (file)
@@ -1,6 +1,8 @@
 \usepackage{beamertokkee}
 \usepackage{lmodern}
 
+\usecolortheme{tokkee}
+
 \usepackage{tikz}
 
 \usetikzlibrary{positioning}
@@ -22,8 +24,8 @@
        \begin{centering}
                \begin{tikzpicture}
                        \usebeamercolor[bg]{title}
-                       \draw[thick] (0,0)
-                               node [fill,draw,drop shadow,rounded corners,inner sep=10pt,align=center]
+                       \draw[thick,draw=gray] (0,0)
+                               node [fill=white,draw,drop shadow,rounded corners,inner sep=10pt,align=center]
                                {
                                        \,\\
                                        \usebeamerfont{title}%
@@ -54,7 +56,6 @@
        \end{centering}
 }
 
-\setbeamercolor{frametitle}{fg=white}
 \setbeamerfont{frametitle}{series=\bfseries}
 \setbeamertemplate{frametitle}
 {
@@ -90,6 +91,3 @@
 \setbeamertemplate{itemize item}[circle]
 \setbeamertemplate{itemize subitem}[square]
 \setbeamertemplate{itemize subsubitem}[square]
-\setbeamercolor{itemize item}{fg=black}
-\setbeamercolor{itemize subitem}{fg=black}
-\setbeamercolor{itemize subsubitem}{fg=black}