Commit 48f5fa76 authored by Yoann Pigné's avatar Yoann Pigné
Browse files

items color in alertblocks

parent aa779494
......@@ -7,7 +7,7 @@
\date{Visite Hcéres 2021}
\footlineinfo{Visite Hcéres 2021}
\begin{document}
\begin{frame}
......@@ -70,6 +70,27 @@
\begin{alertblock}{Bloc de type "\texttt{alertblock}"}
Avec du texte clair et un fond de la couleur principale.
\begin{columns}
\column{0.33\textwidth}
\begin{itemize}
\item item1
\item item2
\end{itemize}
\column{0.33\textwidth}
\begin{enumerate}
\item enum1
\item enum2
\end{enumerate}
\column{0.33\textwidth}
\begin{description}
\item [d1] desc1
\item [d2] desc2
\end{description}
\end{columns}
\end{alertblock}
\begin{alertblock}{}
......@@ -79,7 +100,26 @@
\begin{exampleblock}{Bloc de type "\texttt{exampleblock}"}
avec du text clair et le fond de la couleur secondaire.
\end{exampleblock}
\begin{columns}
\column{0.33\textwidth}
\begin{itemize}
\item item1
\item item2
\end{itemize}
\column{0.33\textwidth}
\begin{enumerate}
\item enum1
\item enum2
\end{enumerate}
\column{0.33\textwidth}
\begin{description}
\item [d1] desc1
\item [d2] desc2
\end{description}
\end{columns}
\end{exampleblock}
\end{frame}
......
......@@ -110,6 +110,14 @@
\setbeamercolor{block title alerted}{bg=main, fg=alert}
\setbeamercolor{block body alerted}{bg=main, fg=background}
\AtBeginEnvironment{alertblock}{%
\setbeamercolor{itemize item}{fg=background}
\setbeamercolor{itemize subitem}{fg=background}
\setbeamercolor{enumerate item}{fg=background}
\setbeamercolor{enumerate subitem}{fg=background}
\setbeamercolor{description item}{fg=background}
\setbeamercolor{description subitem}{fg=background}
}
\setbeamercolor{block title example}{bg=secondary, fg=background}
\setbeamercolor{block body example}{bg=secondary, fg=background}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment