matze/mtheme

Section titles turn red when enabling colorlinks via hyperref

gipert opened this issue · 0 comments

Hello! I noticed the following bug (?): If I try to enable hyperlink colouring with the following MWE:

%! TEX program = xelatex
\documentclass{beamer}

\definecolor{DarkBlue}{HTML}{3973AC}
\hypersetup{
  colorlinks = true,
  urlcolor = DarkBlue
}
\renewcommand\UrlFont{\color{DarkBlue}}

\usetheme{metropolis}
\begin{document}
\begin{frame}{Title}
  Content
\end{frame}
\section{Section Title}
\begin{frame}{Title}
  Content
\end{frame}
\end{document}

The color of the section titles turns red!

image

This, I guess, because it was not set at all in the theme implementation. Now, this is easily fixed by adding linkcolor = mDarkTeal, might want to do that also in the source?