\mode \setbeamertemplate{background}{ \begin{tikzpicture} \useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight); \fill[color={rgb,255:red,37; green,20; blue,42}] (0,2) rectangle (\the\paperwidth,\the\paperheight); \fill[color={rgb,255:red,188; green,7; blue,68}] (0,0) rectangle(2.95,1.9); \fill[color={rgb,255:red,218; green,219; blue,214}] (3.05,0) rectangle(\the\paperwidth,1.9); \ifnum\thepage>1\relax% \fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight); \fi \end{tikzpicture} } % Title page \defbeamertemplate*{title page}{Akatsuki}[1][] { \vskip6cm% \begin{beamercolorbox}[wd=12cm,leftskip=3cm,sep=8pt,#1]{title page header} \usebeamerfont{title}\inserttitle\par% \end{beamercolorbox}% \vskip0.75cm% \begin{beamercolorbox}[wd=12cm,leftskip=3cm,#1]{author} \usebeamerfont{author}\insertauthor% \end{beamercolorbox} \vskip0.2cm% \begin{beamercolorbox}[wd=12cm,leftskip=3cm,#1]{date} \usebeamerfont{author}\insertdate% \end{beamercolorbox} \vfill } % Items \setbeamertemplate{items}[square] \setbeamertemplate{sections/subsections in toc}[square]