I'm having a bit of difficulty with modifying color in the Friggeri template, namely the "header" color is turning out to be pink and not white in regular text.
Here's the code block I've written:
Code: Select all
\newenvironment{headerInfo}{%
\let\oldsection\section
\renewcommand{\section}[1]{
\par\vspace{\baselineskip}{\Large\headingfont\color{header} ##1}
}
\begin{textblock}{3.6}(16, 1.5)
\begin{flushright}
\addfontfeature{Color=header}
\obeycr
}{%
\restorecr
\end{flushright}
\end{textblock}
\let\section\oldsection
}
Code: Select all
\begin{headerInfo}
test text
\end{headerInfo}

What I don't understand is that the section text in the environment turns out as white just fine, but the regular text doesn't. Any idea why the colors are getting changed and how to fix this?