it's my first post here, so please don't mind, if I'm doing something wrong.
I'm using the default beamer theme and changed some colors, like the color of the itemize bullets. Therefore, there are many lines like \setbeamercolor{item}{fg=MyColor} in the preamble. Now, I noticed that this in particular overrides the default coloring of the bullets when using an alert action like \item<alert@1-> An alerted item. On my slides, there is only the color of the text, but not of the bullet changed to red.
I wonder if nobody already came across this issue, but I found nothing after hours of searching, especially stack overflow or reddit.
I hope that I don't do anything obviously wrong...
Your help would be greatly appreciated, so thanks in advance :)
Yes, to this point this is a copy of my post on reddit, because I though, this is probably the better place to ask for help.
What I already tried:
- using
\AtBeginEnvironment{alertenv}{\setbeamercolor{itemize item}{fg=red}}of theetoolboxpackage- this works at first sight, but the bullet color is then changed without taking overlay specifications into account, so something like
\item<alert@2-> An alerted itemresults in a red bullet also in the first overlay
- this works at first sight, but the bullet color is then changed without taking overlay specifications into account, so something like
Here's my MWE:
\documentclass{beamer}
% to demonstrate the faulty behaviour I put this in the document body, usually it would be here in the preamble
% \setbeamercolor{item}{fg=cyan}
% try uncommenting these lines to see the faulty behaviour with overlay specifications
% \AtBeginEnvironment{alertenv}{\setbeamercolor{itemize item}{fg=red}}
% \AtBeginEnvironment{alertenv}{\setbeamercolor{itemize subitem}{fg=red}}
% \AtBeginEnvironment{alertenv}{\setbeamercolor{itemize subsubitem}{fg=red}}
\begin{document}
\begin{frame}{MWE Beamer item color}
\begin{columns}
\begin{column}{0.5\textwidth}
\begin{itemize}
\item A default neutral item
\item<alert@2-> An alerted item
\end{itemize}
\end{column}
\setbeamercolor{item}{fg=cyan}
\begin{column}{0.5\textwidth}
\begin{itemize}
\item A default neutral item
\item<alert@2-> An alerted item
\end{itemize}
\end{column}
\end{columns}
\end{frame}
\end{document}
