Revert section page color, fix frametitle border

This commit is contained in:
Ross Churchley 2015-05-21 02:03:56 -07:00
parent 44a705195c
commit 9916dc5b29
3 changed files with 7 additions and 7 deletions

View File

@ -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}

View File

@ -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

BIN
demo.pdf

Binary file not shown.