% Copyright 2020 by Junwei Wang <i.junwei.wang@gmail.com>
%
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt

\mode<presentation>

%%%%%%%%%%% Nord color scheme
%% https://www.nordtheme.com

% Polar Night
\definecolor{NordDarkBlack}{HTML}{2E3440}     % nord0
\definecolor{NordBlack}{HTML}{3B4252}         % nord1
\definecolor{NordMediumBlack}{HTML}{434C5e}   % nord2
\definecolor{NordBrightBlack}{HTML}{4C566A}   % nord3
% Snow Storm
\definecolor{NordWhite}{HTML}{E5E9F0}         % nord5
\definecolor{NordBrightWhite}{HTML}{ECEFF4}   % nord6
% Frost
\definecolor{NordCyan}{HTML}{8FBCBB}          % nord7
\definecolor{NordBrightCyan}{HTML}{88C0D0}    % nord8
\definecolor{NordBlue}{HTML}{81A1C1}          % nord9
\definecolor{NordBrightBlue}{HTML}{5E81AC}    % nord10
% Aurora
\definecolor{NordRed}{HTML}{BF616A}           % nord11
\definecolor{NordOrange}{HTML}{D08770}        % nord12
\definecolor{NordYellow}{HTML}{EBCB8B}        % nord13
\definecolor{NordGreen}{HTML}{A3BE8C}         % nord14
\definecolor{NordMagenta}{HTML}{B48EAD}       % nord15

\setbeamercolor*{background canvas}{bg=NordBlack}
\setbeamercolor*{normal text}{fg=NordWhite}
\setbeamercolor*{alerted text}{fg=NordRed}
\setbeamercolor*{example text}{fg=NordBrightCyan}
\setbeamercolor*{structure}{fg=NordCyan}

\setbeamercolor*{title}{fg=NordGreen}
\setbeamercolor*{subtitle}{fg=NordBlue}
\setbeamercolor*{frametitle}{fg=NordGreen}
\setbeamercolor*{framesubtitle}{fg=NordBlue}
\setbeamercolor*{section in toc}{fg=NordGreen}
\setbeamercolor*{subsection in toc}{fg=NordBlue}
\setbeamercolor*{subsection in toc shaded}{fg=NordCyan!20!NordBrightBlack}

\setbeamercolor*{itemize item}{fg=NordGreen}
\setbeamercolor*{enumerate item}{fg=NordGreen}

\setbeamercolor*{section in head/foot}{bg=NordBlack, fg=NordCyan}

\setbeamercolor{block title}{bg=NordBlack!80,fg=NordGreen}
\setbeamercolor{block title example}{bg=NordBlack!80,parent={example text}}
\setbeamercolor{block title alerted}{bg=NordBlack!80,parent={alerted text}}
\setbeamercolor{block body}{bg=NordGreen!50!NordBlack,fg=NordCyan}
\setbeamercolor{block body example}{bg=NordBrightCyan!50!NordBlack,fg=NordWhite}
\setbeamercolor{block body alerted}{bg=NordRed!50!NordBlack,fg=NordWhite}

\setbeamercolor{caption}{fg=NordBrightBlue}

\mode
<all>

\endinput
