beamercolorthemeGiraldo.sty 3.27 KB
% Copyright 2014 by Francisco Coelho
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
%
%	Opcoes
%
%	(default) ==> barra dos títulos: fundo cinza claro, texto cinza escuro
%
%	sempavor ==> barra dos titulos: fundo branco, texto conza
%
\newif\ifgiraldo@sempavor
\giraldo@sempavorfalse
\DeclareOptionBeamer{sempavor}{\giraldo@sempavortrue}
%
%	comvergonha ==> barra dos titulos: fundo vermelho, texto branco
%
\newif\ifgiraldo@comvergonha
\giraldo@comvergonhafalse
\DeclareOptionBeamer{comvergonha}{\giraldo@comvergonhatrue}
%
\ProcessOptionsBeamer
%
\mode<presentation>
%
%
%	Define UE colors
%
\definecolor{ue-red}{RGB}{158 27 50}
\definecolor{ue-gray}{RGB}{88 89 91}
\definecolor{ue-grey}{RGB}{88 89 91}
\definecolor{ue-black}{RGB}{0 0 0}
%
%
%	Basic text elements
%
\setbeamercolor*{normal text}{fg=black,bg=white}
\setbeamercolor*{alerted text}{fg=ue-red,bg=white}
%
%
%	Title page elements
%
\setbeamercolor*{title}{fg=ue-red,bg=white}
%
%
%	Structures (lists, etc)
%
\setbeamercolor*{structure}{fg=ue-grey}
%
%
%	Frame block elements (theorems, etc)
%
\setbeamercolor*{block body}{bg=normal text.bg!90!black}
\setbeamercolor*{block body alerted}{bg=normal text.bg!90!black}
\setbeamercolor*{block title}{parent=structure,fg=white,bg=ue-red}
\setbeamercolor*{block title alerted}{
	use={normal text,alerted text},
	fg=ue-g!75!normal text.fg,
	bg=normal text.bg!75!black
}
%
%
%	Examples
%
\setbeamercolor*{example text}{fg=ue-grey!75!black}
%
\setbeamercolor*{block body example}{bg=normal text.bg!90!black}
\setbeamercolor*{block title example}{
	use={normal text,example text},
	fg=ue-red!75!normal text.fg,
	bg=normal text.bg!75!black
}
%
%
%	Palettes
%
\setbeamercolor{palette primary}{
	use={structure,normal text},
	fg=structure.fg,
	bg=normal text.bg!75!black
}
%
\setbeamercolor{palette secondary}{
	use={structure,normal text},
	fg=structure.fg,
	bg=normal text.bg!60!black
}
%
\setbeamercolor{palette tertiary}{
	use={structure,normal text},
	fg=ue-grey,
	bg=white
}
%
\setbeamercolor{palette quaternary}{
	use={structure,normal text},
	fg=structure.fg,
	bg=normal text.bg!30!black
}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
% Processamento de opcoes
%
%	sempavor
%
\ifgiraldo@sempavor
	\setbeamercolor{frametitle}{bg=white,fg=ue-gray}
	\pgfdeclareimage[width=64pt]{page-logo}{lhn}
%
%	alcaide
%
\else\ifgiraldo@comvergonha
	\setbeamercolor{frametitle}{bg=ue-red,fg=white}
	\pgfdeclareimage[width=64pt]{page-logo}{lhb}	
%
%	(default)
%
\else
	\setbeamercolor{frametitle}{bg=ue-grey!12.5!white,fg=ue-grey}
	\pgfdeclareimage[width=64pt]{page-logo}{lhn}
\fi\fi
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
%	Sidebar stuff
%
%\setbeamercolor*{sidebar}{parent=palette primary}
% \setbeamercolor*{sidebar}{bg=ue-red,fg=black}
% \setbeamercolor*{title in sidebar}{fg=white}
% \setbeamercolor*{subsection in sidebar}{fg=white}
% \setbeamercolor{palette sidebar primary}{
% 	use=normal text,
% 	fg=normal text.fg
% }
% \setbeamercolor{palette sidebar secondary}{
% 	use=structure,
% 	fg=white
% }
% \setbeamercolor{palette sidebar tertiary}{
% 	use=normal text,
% 	fg=normal text.fg
% }
% \setbeamercolor{palette sidebar quaternary}{
% 	use=structure,
% 	fg=structure.fg
%}
%
%
%
\mode<all>