-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathbeamerouterthemematerial.sty
28 lines (25 loc) · 1.03 KB
/
beamerouterthemematerial.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\mode<presentation>
% Frame title
\defbeamertemplate*{frametitle}{material}[1][]
{
\makebox[\linewidth][c]{%
\begin{minipage}[t]{\paperwidth}
\raggedright
\begin{tcolorbox}[colback=primary, enhanced, sharpish corners=all, boxrule=0mm, coltext=textPrimary, %
left=6mm, right=6mm, top=2.6mm, bottom=2mm,%
fuzzy shadow={0mm}{-0.9mm}{0mm}{0.2mm}{shadow!40!BGgrey03}, % bottomSmall
fuzzy shadow={0mm}{-0.8mm}{0mm}{0.2mm}{shadow!20!BGgrey03}, % bottomBig
fuzzy shadow={0mm}{ 0.6mm}{0mm}{0.2mm}{shadow!40!primary}, % topSmall
fuzzy shadow={0mm}{ 0.5mm}{0mm}{0.2mm}{shadow!20!primary}, % topBig
width=\paperwidth, boxsep=2mm]
\ifx\insertframesubtitle\@empty%
{\usebeamerfont{frametitle} \insertframetitle}
\else%
{\usebeamerfont{frametitle} \insertframetitle}
{\usebeamerfont{framesubtitle} \insertframesubtitle}
\fi
\end{tcolorbox}
\end{minipage}%
}%
}
\mode<all>