how can I change the color of the title of the definition block in Beamer without changing the color theme completely?
That is, I have this.
Code: Select all
\begin{definition}
Text
\end{definition}
Code: Select all
\begin{definition}
Text
\end{definition}
Code: Select all
\documentclass{beamer}
\usetheme{Warsaw}
\begin{document}
\begin{frame}
\begingroup
\setbeamercolor{block title}{bg=red,fg=blue}%bg=background, fg= foreground
\setbeamercolor{block body}{bg=yellow,fg=green}%bg=background, fg= foreground
\begin{definition}
A group $G$ is cyclic if there existis an element $x\in G$ such that $\langle x\rangle=G$.
\end{definition}
\endgroup
\end{frame}
\end{document}