I'm using the beaver
color theme with the Boadilla
beamer theme.
I want to get rid of the bluish blocks, that are not redefined to a color fitting the color theme I chose. So I put this in my preamble:
\definecolor{darkred}{rgb}{0.8,0,0}
\setbeamercolor{structure}{fg=darkred}
However, this produces something pinkish, which is ok, but it is way too pinkish when my blocks have a title. What I would like to do is to turn off the color difference between block title
and block body
, and use the block body
color, that was automatically defined by \setbeamercolor{structure}{fg=darkred}
, also in the block title
.
I tried to put
\setbeamercolor{block title}{use=block body,fg=darkred,bg=block body.bg}
in my preamble, after the two definitions quoted above, but this results in
! TeX capacity exceeded, sorry [grouping levels=255].
errors wherever I put blocks in my frames.
Apparently, this questions was not asked by anybody around the net so far. Any help would be appreciated :)
Minimal working example:
\documentclass[10pt,xcolor=dvipsnames,pdflatex]{beamer}
\usetheme{Boadilla}
\usecolortheme{beaver}
\definecolor{darkred}{rgb}{0.8,0,0}
\setbeamercolor{structure}{fg=darkred}
\begin{document}
\begin{frame}{My pink slide}
\begin{block}{Oh my god}\centering
this is so girlish.\\
Especially when\\
the block is\\
so big\\
that it\\
is close\\
to the\\
red/grey\\
frame title.
\end{block}
\vfill
\begin{block}{}
Nice, bright block!\\
I like this and would not change its bg color.
\end{block}
\end{frame}
\end{document}