dotfiles/tex-external/beamer/gemini/beamercolorthememit.sty
2024-08-01 04:09:12 -04:00

58 lines
1.7 KiB
TeX

% Gemini theme
% https://github.com/anishathalye/gemini
% ====================
% Definitions
% ====================
% Colors from http://web.mit.edu/graphicidentity/colors.html
\definecolor{mitred}{cmyk}{0.24, 1.0, 0.78, 0.17}
\definecolor{mitdarkgray}{cmyk}{0.48, 0.39, 0.39, 0.04}
\definecolor{mitlightgray}{cmyk}{0.24, 0.20, 0.20, 0.0}
% Extra colors
\definecolor{lightgray}{RGB}{240, 240, 240}
\definecolor{lightorange}{RGB}{255, 245, 242}
% ====================
% Theme
% ====================
% Basic colors
\setbeamercolor{palette primary}{fg=black,bg=white}
\setbeamercolor{palette secondary}{fg=black,bg=white}
\setbeamercolor{palette tertiary}{bg=black,fg=white}
\setbeamercolor{palette quaternary}{fg=black,bg=white}
\setbeamercolor{structure}{fg=mitred}
% Headline
\setbeamercolor{headline}{fg=black,bg=lightgray}
% Block
\setbeamercolor{block title}{fg=mitred,bg=white}
\setbeamercolor{block separator}{bg=black}
\setbeamercolor{block body}{fg=black,bg=white}
% Alert Block
\setbeamercolor{block alerted title}{fg=mitred,bg=lightorange}
\setbeamercolor{block alerted separator}{bg=black}
\setbeamercolor{block alerted body}{fg=black,bg=lightorange}
% Example Block
\setbeamercolor{block example title}{fg=mitred,bg=lightgray}
\setbeamercolor{block example separator}{bg=black}
\setbeamercolor{block example body}{fg=black,bg=lightgray}
% Heading
\setbeamercolor{heading}{fg=black}
% Itemize
\setbeamercolor{item}{fg=mitred}
% Bibliography
\setbeamercolor{bibliography item}{fg=black}
\setbeamercolor{bibliography entry author}{fg=black}
\setbeamercolor{bibliography entry title}{fg=black}
\setbeamercolor{bibliography entry location}{fg=black}
\setbeamercolor{bibliography entry note}{fg=black}