[Tex/LaTex] Change color of itemize in beamer alertblock


How can I change the color of bullets in an itemize list within an alertblock in beamer?

I use

  \setbeamercolor{itemize item}{<color>}

to set the color of the bullets throughout the document. But I want a different color when the bullets are inside an alertblock environment. I've tried

\setbeamercolor{block itemize item alerted}{<color>}


\setbeamercolor{block alerted itemize item}{<color>}

but neither seems to do anything.

This is not the same question as Custom beamer blocks for pros and cons?. I want to modify the alertblock environment. I don't want to create a new environment.

Best Answer

Just alter the parent structure:

\setbeamercolor{block title alerted}{fg=white,bg=brown}
\setbeamercolor{block body alerted}{fg=black!90,bg=brown!60!yellow}
% parent of all alerts default is red
\setbeamercolor{alerted text}{fg=green}

\item item 
\begin{alertblock}{alert block}
\item item 

enter image description here

I would not recommend to use exactly this color scheme but it shows how itemize items and the background can be adjusted individually. This will effect enumerate environments and any other alert as well.

Additional tipp: instead of guessing beamer templates which are not listed in the guide just look them up in the beamer<color/inner/outer>themedefault.sty files in the beamer tree.