# beamer dark theme

I have a very simple question - there are a bunch of beamer themes, however, all of them have white background. I would like to use some theme, let's say Warsaw (since it is perfect), however I'm looking for some dark version of this theme.

The most important thing for me is black background - unfortunately projectors are not as good as screens/printed papers, so dark themes are much better for long presentations, etc.

Any suggestions? Ideally, I'd like to change just a line or so in the beginning of my tex file with presentation.

-
I think it's the other way around. The projectors are bad at displaying darker presentations. In fact that's why they are usually compared with respect to their Contrast Ratio. Another shortcoming is the plots and images that don't have transparent background. They immediately get detached from the presentation and look like they don't belong there. Even if they are transparent then they are pretty much invisible. I have the boredom of countless parliament blue background .ppt presentations experience under my belt :P –  percusse May 26 '12 at 22:29

Personally, I don't like presentations with dark backgrounds since my eyes get tired too soon, but that's just a personal opinion. The beamer theme matrix shows a number of color themes that will give you dark backgrounds; for example:

\documentclass{beamer}
\usetheme{Warsaw}
\usecolortheme{beetle}

\begin{document}

\begin{frame}
\frametitle{Test Frame}
text
\end{frame}

\end{document}


or

\documentclass{beamer}
\usetheme{Warsaw}
\usecolortheme{fly}

\begin{document}

\begin{frame}
\frametitle{Test Frame}
text
\end{frame}

\end{document}


If you want to design your own, you can for example look at those color themes (they are in the directory /usr/local/texlive/2011/texmf-dist/tex/latex/beamer/themes/color in a typical TeX Live2011 installation) and make your adjustments. For example, here'sa variation on the fly color theme, but with a black background, as requested:

\documentclass{beamer}
\usetheme{Warsaw}

\setbeamercolor{normal text}{fg=white,bg=black!90}
\setbeamercolor{structure}{fg=white}

\setbeamercolor{item projected}{use=item,fg=black,bg=item.fg!35}

\setbeamercolor*{palette primary}{use=structure,fg=structure.fg}
\setbeamercolor*{palette secondary}{use=structure,fg=structure.fg!95!black}
\setbeamercolor*{palette tertiary}{use=structure,fg=structure.fg!90!black}
\setbeamercolor*{palette quaternary}{use=structure,fg=structure.fg!95!black,bg=black!80}

\setbeamercolor*{framesubtitle}{fg=white}

\setbeamercolor*{block title}{parent=structure,bg=black!60}
\setbeamercolor*{block body}{fg=black,bg=black!10}
\setbeamercolor*{block title example}{parent=example text,bg=black!15}

\begin{document}

\begin{frame}
\frametitle{Test Frame}
\framesubtitle{Test Frame}
Test
\begin{enumerate}
\item Test
\end{enumerate}
\begin{block}{Test}
Test
\end{block}
\end{frame}

\end{document}


-
thank you! this looks great! –  morph May 29 '12 at 20:10