
% \redefinecolor{black}{HTML}{fg0}
% Dark mode
\pagecolor{bg0}
\color{fg0}

% \pagecolor{dark0_hard}
% \color{light0_hard}

% section headings in bright colors, \titleformat from titlesec package
\titleformat{\section}
  {\color{fg-purple}\normalfont\Large\bfseries}
  {\color{fg-purple}\thesection}{1em}{}

\titleformat{\subsection}
  {\color{fg-blue}\normalfont\large\bfseries}
  {\color{fg-blue}\thesubsection}{1em}{}

\titleformat{\subsubsection}
  {\color{fg-aqua}\normalfont\normalsize\bfseries}
  {\color{fg-aqua}\thesubsubsection}{1em}{}

\titleformat{\paragraph}
  {\color{fg-green}\normalfont\normalsize\bfseries}
  {\color{fg-green}\theparagraph}{1em}{}

\titleformat{\subparagraph}
  {\color{fg-purple}\normalfont\normalsize\bfseries}
  {\color{fg-purple}\thesubparagraph}{1em}{}

\hypersetup{
  colorlinks=true,
  linkcolor=fg-blue,
  citecolor=fg-green,
  filecolor=fg-purple,
  urlcolor=fg-orange
}
