Add bg color to alerted and example blocks.

Addresses #38. Please test.
This commit is contained in:
Johann Dahm 2015-04-17 09:54:00 -04:00
parent bf3494fb26
commit 9044d47303
1 changed files with 4 additions and 4 deletions

View File

@ -60,12 +60,12 @@
\if@beamer@metropolis@blockbg
\setbeamercolor{block title}{use=palette primary,parent=palette primary,bg=palette primary.bg!80!fg}
\setbeamercolor{block title alerted}{use=alerted text,parent=palette primary,fg=alerted text.fg}
\setbeamercolor{block title example}{use=example text,parent=palette primary,fg=example text.fg}
\setbeamercolor{block title alerted}{use=alerted text,parent=palette primary,fg=alerted text.fg,bg=palette primary.bg!80!fg}
\setbeamercolor{block title example}{use=example text,parent=palette primary,fg=example text.fg,bg=palette primary.bg!80!fg}
\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg}
\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg}
\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg}
\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg,bg=palette primary.bg!80!fg}
\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg,bg=palette primary.bg!80!fg}
\fi