diff --git a/beamercolorthememetropolis.sty b/beamercolorthememetropolis.sty index e2cb2f5..63549e7 100644 --- a/beamercolorthememetropolis.sty +++ b/beamercolorthememetropolis.sty @@ -36,8 +36,8 @@ \setbeamercolor{palette primary}{fg=mDarkTeal, bg=black!2} \setbeamercolor{palette secondary}{fg=white, bg=mDarkTeal} -\setbeamercolor{palette quaternary}{fg=mDarkBrown} \setbeamercolor{palette tertiary}{fg=white, bg=mMediumBrown} +\setbeamercolor{palette quaternary}{fg=mDarkBrown} \setbeamercolor{title}{parent=palette primary} \setbeamercolor{subtitle}{parent=palette primary} @@ -45,7 +45,7 @@ \setbeamercolor{date}{parent=palette primary} \setbeamercolor{institute}{parent=palette primary} -\setbeamercolor{section title}{parent=palette secondary} +\setbeamercolor{section title}{parent=palette primary} \setbeamercolor{frametitle}{parent=palette secondary} \setbeamercolor{background canvas}{parent=palette primary} \setbeamercolor{structure}{fg=mDarkTeal} diff --git a/beamerthemem.sty b/beamerthemem.sty index dd2f6b0..cc88d88 100644 --- a/beamerthemem.sty +++ b/beamerthemem.sty @@ -158,8 +158,9 @@ \setlength{\progressbar@percent}{% #1 * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}% }% - \begin{tikzpicture} - \draw[fg, fill=fg] (0,0) rectangle (#1, 0.4pt); + \usebeamercolor{palette primary} + \begin{tikzpicture}[tight background] + \draw[fg!50, fill=fg!50] (0,0) rectangle (#1, 0.4pt); \draw[alerted text.fg, fill=alerted text.fg] (0,0) rectangle (\progressbar@percent, 0.4pt); \end{tikzpicture}% } @@ -228,7 +229,7 @@ \sectionpage \else \begingroup - \setbeamercolor{background canvas}{parent=palette secondary} + \setbeamercolor{background canvas}{parent=palette primary} \frame[plain]{\sectionpage} \endgroup \fi @@ -288,8 +289,7 @@ \end{beamercolorbox}% \if@useTitleProgressBar \nointerlineskip - \begin{beamercolorbox}[wd=\paperwidth,ht=1pt,dp=0pt]{frametitle} - \usebeamercolor{palette quaternary} + \begin{beamercolorbox}[wd=\paperwidth,ht=0.4pt,dp=0pt]{frametitle} \progressbar{\paperwidth} \end{beamercolorbox} \fi diff --git a/demo.pdf b/demo.pdf index 477f195..9e8d5b9 100644 Binary files a/demo.pdf and b/demo.pdf differ