From: Sebastian Harl Date: Thu, 11 Apr 2013 20:03:48 +0000 (+0200) Subject: Initial version of a color theme. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5ccbea9617530206a6de76a2eab52a09085501e2;p=tokkeebeamer.git Initial version of a color theme. --- diff --git a/Makefile b/Makefile index 01f8674..0275358 100644 --- 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 index 0000000..5bcebc0 --- /dev/null +++ b/beamercolorthemetokkee.sty @@ -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 + +\setbeamercolor{title}{fg=tokkeeblue} + +\setbeamercolor{frametitle}{fg=tokkeeblue} + +\setbeamercolor{itemize item}{fg=black} +\setbeamercolor{itemize subitem}{fg=black} +\setbeamercolor{itemize subsubitem}{fg=black} + +\mode + diff --git a/beamerthemetokkee.sty b/beamerthemetokkee.sty index 0e68b0d..89044df 100644 --- a/beamerthemetokkee.sty +++ b/beamerthemetokkee.sty @@ -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}