\mode<presentation>

\RequirePackage{tikz}

% Settings
\useinnertheme{ibm}
\useoutertheme{ibm}
\usecolortheme{ibm}

\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[rounded][shadow=true]

% Set usual fonts
\RequirePackage{plex-otf}

% Set title fonts
\setbeamerfont{title}{family=\fontspec{IBMPlexMono-Regular.otf}, size=\Large}
\setbeamerfont{subtitle}{family=\fontspec{IBMPlexSans-Italic.otf}, size=\scriptsize}
\setbeamerfont{titletag}{family=\fontspec{IBMPlexMono-Regular.otf}, size=\tiny}
\setbeamerfont{author}{family=\fontspec{IBMPlexSans-Regular.otf}}
\setbeamerfont{date}{family=\fontspec{IBMPlexSans-Regular.otf}, size=\scriptsize}
\setbeamerfont{frametitle}{family=\fontspec{IBMPlexMono-Regular.otf}, size=\large}
\setbeamerfont{titleurl}{family=\fontspec{IBMPlexMono-Regular.otf}, size=\scriptsize}
\setbeamerfont{footer}{family=\fontspec{IBMPlexMono-Regular.otf}, size=\tiny}

% Set math fonts
\usepackage{unicode-math}
\setmathfont{LeteSansMath.otf}
\setmathrm{IBMPlexSans-Regular.otf}
\setmathsf{IBMPlexSans-Regular.otf}
\setmathtt{IBMPlexSans-Regular.otf}

% Set line spacing
\setstretch{1.25}

\newcommand{\settopspace}[1]{\newcommand{\topspace}{\vspace{#1}}}
\newcommand{\settitlespace}[1]{\newcommand{\titlespace}{\vspace{#1}}}
\newcommand{\setsubtitlespace}[1]{\newcommand{\subtitlespace}{\vspace{#1}}}
\newcommand{\settitletagspace}[1]{\newcommand{\titletagspace}{\vspace{#1}}}
\newcommand{\setauthorspace}[1]{\newcommand{\authorspace}{\vspace{#1}}}
\newcommand{\seturlspace}[1]{\newcommand{\urlspace}{\vspace{#1}}}
\newcommand{\setbottomspace}[1]{\newcommand{\bottomspace}{\vspace{#1}}}

\newcommand{\seturl}[1]{\newcommand{\printurl}{#1}}
\newcommand{\titletag}[1]{\newcommand{\printtitletag}{#1}}

\newcommand{\settitlewidth}[1]{\newcommand{\titlewidth}{#1}}

\newcommand{\footerleft}[1]{\newcommand{\printfooterleft}{#1}}
\newcommand{\footercenter}[1]{\newcommand{\printfootercenter}{#1}}
\mode<all>
