\documentclass[aspectratio=1610]{beamer}
% This can be compiled with pdflatex.
% Load fontspec so that you can load OTF/TTF fonts if you want to; but then you must compile with xelatex or lualatex!
% \usepackage{fontspec} 

% beamerthemeMirage.sty v1.0 2024/04/14
% by LianTze Lim (liantze@gmail.com)
% A beamer theme inspired by a musical album art
% \usetheme{Mirage}           % Default = dark mode
\usetheme[light]{Mirage}  % Alternative light mode 

% The glowy light in the footnline
% \setlength{\MirageGlowRadius}{0.25ex}

% Mirage theme loads the fontawesome7 package

\title{Mirage Theme}
\subtitle{A presentation theme inspired by a musical album art}
\author{LianTze Lim}
\institute{(Optional) Institute Name}
\date{2026/08/27}

\usepackage{iftex}

% These fonts will work with pdflatex, xelatex, lualatex
\usepackage[lining,tabular]{carlito}
\usepackage{caladea}

\ifboolexpr{bool{xetex} or bool{luatex}}{
  % Unicode-math and TTF/OTF fonts will only work with xelatex, lualatex
  \usepackage{unicode-math}
  % \setmathfont{STIX Two Math}
  % \setmathfont{Erewhon Math}
  \setmathfont{Fira Math}
}{% Sans math font in pdflatex:
  \usepackage[T1]{fontenc}
  \usepackage{newtxsf}
}


\begin{document}

\frame{\maketitle}

\section{Introduction}

\begin{frame}
\frametitle{Sample frame title}
This is some text in a frame, for the sake of showing an example.

\begin{itemize}
    \item Some text
    \begin{itemize}
        \item Some text on second level itemize
        \item Some text on second level itemize
    \end{itemize}
    \item Some text
\end{itemize}
\end{frame}

\begin{frame}
\frametitle{Another sample frame}
\begin{enumerate}
\item Some text
    \begin{enumerate}
        \item Some text on second level enumerate
        \item Some text on second level enumerate
    \end{enumerate}
\item And finally some \alert{alerted text}
\end{enumerate}
\end{frame}

\begin{frame}[c]
\frametitle{Customisable Pullquotes}
\begin{columns}
\begin{column}[T]{.4\textwidth}
\begin{pullquote}
    Can it be real\\
    The world is a mirage
\end{pullquote}
\end{column}

\begin{column}[T]{.5\textwidth}
\setbeamercolor{pullquote}{fg=MirageBlue}
\renewcommand{\MiragePullquoteOpen}{«}
\begin{pullquote}
Slowly, gently,\\
night unfurls its splendour\\
Grasp it, sense it,\\
tremulous and tender
\end{pullquote}
\end{column}
\end{columns}
\end{frame}


\section{Blocks}

% \renewcommand{\MirageFrametitlePrefix}{\faDove}
% \renewcommand{\MirageProofPrefix}{\faSquareCheck[regular]}
% \renewcommand{\MirageTheoremPrefix}{\faGears}

\begin{frame}[allowframebreaks]{This theme supports blocks}

    \begin{exampleblock}{Gosh I've no idea what I'm writing, do you?}
    Now solve $x = \frac{-b \pm \sqrt{b^2 -4ac}}{2a}$. This should be easy, right?
    \end{exampleblock}

    \begin{alertblock}{Gosh I've no idea what I'm writing, do you?}
    \[ x = \frac{-b \pm \sqrt{b^2 -4ac}}{2a}, \quad\therefore \alpha \neq \Omega \]
    \end{alertblock}

    \begin{block}{Gosh I've no idea what I'm writing, do you?}
    \[ x = \frac{-b \pm \sqrt{b^2 -4ac}}{2a}, \quad\therefore \alpha \neq \Omega \]
    \end{block}
    
    \begin{proof}
    As everyone can clearly see, $1+1=2$.
    \end{proof}

    \begin{theorem}
    A wonderful thing is about to happen -- it \emph{will} eventually happen.
    \end{theorem}
    
    \begin{definition}
    A wonderful thing is about to happen -- it \emph{will} eventually happen.
    \end{definition}
\end{frame}

\end{document}
