Newer
Older
LaTeX / beamerthemes / beamerThemeOtagoPlain / beamercolorthemeOtagoPlain.sty
\ProvidesPackage{beamercolorthemeOtagoPlain}[2005/02/07 ver 3.01.002]


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Copyright 2005 by Nigel Stanger <nstanger@infoscience.otago.ac.nz>
%
% This program can be redistributed and/or modified under the terms
% of the GNU Public License, version 2.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\mode<presentation>


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Set up Otago colours.
%
% Old colours (up to 2024-04-30)
% https://web.archive.org/web/20230207091139/https://www.otago.ac.nz/administration/service_divisions/external-engagement/otago017269.html#colourvalues
%
% Blue - RGB: 0, 80, 143; CMYK: 100, 60, 0, 25; HTML: #00508F
\definecolor{old OU blue}{rgb/cmyk/HTML}{0,0.314,0.56/1,0.6,0,0.25/00508F}
% Red - RGB: 198, 53, 29; CMYK: 0, 95, 90, 0; HTML: #CE2227
% (no longer an official colour)
\definecolor{OU red}{rgb/cmyk/HTML}{0.776,0.208,0.114/0,0.95,0.9,0/CE2227}
% Gold - RGB: 250, 198, 0; CMYK: 0, 25, 100, 0; HTML: #F9C013
\definecolor{old OU gold}{rgb/cmyk/HTML}{0.98,0.776,0/0,0.25,1,0/F9C013}
%
% New colours (from 2024-05-01)
% https://www.otago.ac.nz/marketing-services/resources/university-of-otago-brand-guide#k%C4%81-tae---colours
%
% Blue - RGB: 6, 13, 135; CMYK: 96, 91, 0, 46; HTML: #060D87
\definecolor{OU blue}{rgb/cmyk/HTML}{0.024 0.051 0.529/0.96,0.91,0,0.46/060D87}
\colorlet{St Andrew's Blue}{OU blue}
\colorlet{Ōrangitea}{OU blue}

% Gold - RGB: 244, 177, 66; CMYK: 0, 29, 93, 0; HTML: #F4B142
\definecolor{OU gold}{rgb/cmyk/HTML}{0.957,0.694,0.259/0,0.29,0.93,0/F4B142}
\colorlet{Gold Rush}{OU gold}
\colorlet{Rere Tārewa Kōura}{OU gold}

\colorlet{Pango}{black}
\colorlet{Mā}{white}

% RGB: 0, 0, 68; CMYK: 100, 95, 30, 55; HTML: #000044
\definecolor{Deep Blue}{rgb/cmyk/HTML}{0,0,0.267/1,0.95,0.3,0.55/000044}
\colorlet{Pukepoto}{Deep Blue}

% RGB: 238, 138, 7; CMYK: 4, 55, 100, 0; HTML: #EE8A07
\definecolor{Deep Gold}{rgb/cmyk/HTML}{0.933,0.541,0.027/0.04,0.55,1,0/EE8A07}
\colorlet{Kōura-Uri}{Deep Gold}

% RGB: 49, 123, 255; CMYK: 100, 70, 0, 0; HTML: #317BFF
\definecolor{True Blue}{rgb/cmyk/HTML}{0.192,0.482,1/1,0.7,0,0/317BFF}
\colorlet{Kahurangi Tūturu}{True Blue}

% RGB: 255, 222, 70; CMYK: 0, 10, 90, 0; HTML: #FFDE46
\definecolor{True Yellow}{rgb/cmyk/HTML}{1,0.871,0.275/0,0.1,0.9,0/FFDE46}
\colorlet{Kōwhai Tūturu}{True Yellow}

% RGB: 218, 235, 252; CMYK: 12, 2, 0, 0; HTML: #DAEBFC
\definecolor{Sky}{rgb/cmyk/HTML}{0.855,0.922,0.988/0.12,0.02,0,0/DAEBFC}
\colorlet{Kikorangi}{Sky}

% RGB: 251, 249, 237; CMYK: 1, 1, 7, 0; HTML: #FBF9ED
\definecolor{Ivory}{rgb/cmyk/HTML}{0.984,0.976,0.929/0.01,0.01,0.07,0/FBF9ED}
\colorlet{Rei}{Ivory}

% RGB: 0, 0, 255; HTML: #0000FF
\definecolor{Digital Blue}{rgb/HTML}{0,0,1/0000FF}
\colorlet{Kahurangi Matihiko}{Digital Blue}

% RGB: 255, 255, 0; HTML: #FFFF00
\definecolor{Digital Yellow}{rgb/HTML}{1,1,0/FFFF00}
\colorlet{Kōwhai Matihiko}{Digital Yellow}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Other miscellaneous colours.
%
% Lavender (probably more puce TBH) - RGB: 115, 85, 102; CMYK 0, 26, 11, 55; HTML: #735566
\definecolor{lavender}{rgb/cmyk}{0.451,0.333,0.4/0,0.26,0.11,0.55}
\colorlet{dull green}{green!40!black}

\setbeamercolor{lavender text}{fg=lavender}
\setbeamercolor{dull green text}{fg=dull green}
\setbeamercolor{blue text}{fg=blue}


\setbeamercolor{normal text}{fg=black,bg=white}
\setbeamercolor{alerted text}{fg=OU red}
\setbeamercolor{example text}{fg=green!50!black}

\setbeamercolor{structure}{fg=OU blue}

\setbeamercolor{background canvas}{parent=normal text}
\setbeamercolor{background}{parent=background canvas}

\setbeamercolor{palette primary}{fg=OU gold,bg=structure}
\setbeamercolor{palette secondary}{fg=black,bg=OU gold}
\setbeamercolor{palette tertiary}{fg=black,bg=OU red}
\setbeamercolor{palette quaternary}{fg=black}

\setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg}
\setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg}
\setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg}
\setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg}

\setbeamercolor{math text}{}
\setbeamercolor{math text inlined}{parent=math text}
\setbeamercolor{math text displayed}{parent=math text}

\setbeamercolor{normal text in math text}{}

\setbeamercolor{local structure}{parent=structure}

\setbeamercolor{titlelike}{parent=structure}

\setbeamercolor{title}{parent=titlelike}
\setbeamercolor{title in head/foot}{parent=palette quaternary}
\setbeamercolor{title in sidebar}{parent=palette sidebar quaternary}

\setbeamercolor{subtitle}{parent=title}

\setbeamercolor{author}{}
\setbeamercolor{author in head/foot}{parent=palette secondary}
\setbeamercolor{author in sidebar}{use=palette sidebar tertiary,fg=palette sidebar tertiary.fg}

\setbeamercolor{institute}{}
\setbeamercolor{institute in head/foot}{parent=palette secondary}
\setbeamercolor{institute in sidebar}{use=palette sidebar tertiary,fg=palette sidebar tertiary.fg}

\setbeamercolor{date}{}
\setbeamercolor{date in head/foot}{parent=palette quaternary}
\setbeamercolor{date in sidebar}{use=palette sidebar tertiary,fg=palette sidebar tertiary.fg}

\setbeamercolor{titlegraphic}{}

\setbeamercolor{part name}{parent=titlelike}
\setbeamercolor{part title}{parent=titlelike}
\setbeamercolor{short part name}{}

\setbeamercolor{part number}{}
\setbeamercolor{chapter number}{}

\setbeamercolor{section in toc}{parent=structure}
\setbeamercolor{section in head/foot}{parent=palette primary}
\setbeamercolor{section in sidebar}{parent=palette sidebar secondary}
\setbeamercolor{section in sidebar shaded}{use=section in sidebar,fg=section in sidebar.fg!40!bg}
\setbeamercolor{section number projected}{parent=item projected}

\setbeamercolor{subsection in toc}{}
\setbeamercolor{subsection in head/foot}{parent=palette primary}
\setbeamercolor{subsection in sidebar}{parent=palette sidebar primary}
\setbeamercolor{subsection in sidebar shaded}{use=subsection in sidebar,fg=subsection in sidebar.fg!40!bg}
\setbeamercolor{subsection number projected}{parent={subitem projected}}

\setbeamercolor{headline}{}
\setbeamercolor{footline}{}

\setbeamercolor{sidebar}{}
\setbeamercolor{sidebar left}{parent=sidebar}
\setbeamercolor{sidebar right}{parent=sidebar}

\setbeamercolor{logo}{parent=palette secondary}

\setbeamercolor{frametitle}{parent=titlelike}
\setbeamercolor{framesubtitle}{parent=frametitle}

\setbeamercolor{frametitle right}{parent=frametitle}

\setbeamercolor{caption}{}
\setbeamercolor{caption name}{parent=structure}

\setbeamercolor{button}{use=local structure,bg=local structure.fg!50!bg,fg=white}
\setbeamercolor{button border}{use=button,fg=button.bg}
\setbeamercolor{navigation symbols}{use=structure,fg=structure.fg!40!bg}
\setbeamercolor{navigation symbols dimmed}{use=structure,fg=structure.fg!20!bg}
\setbeamercolor{mini frame}{parent=section in head/foot}

\setbeamercolor{block body}{}
\setbeamercolor{block body alerted}{}
\setbeamercolor{block body example}{}
\setbeamercolor{block title}{parent=structure}
\setbeamercolor{block title alerted}{parent=alerted text}
\setbeamercolor{block title example}{parent=example text}

\setbeamercolor{item}{parent=local structure}
\setbeamercolor{subitem}{parent=item}
\setbeamercolor{subsubitem}{parent=subitem}

\setbeamercolor{item projected}{parent=item,use=item,fg=white,bg=item.fg}
\setbeamercolor{subitem projected}{parent=item projected}
\setbeamercolor{subsubitem projected}{parent=subitem projected}

\setbeamercolor{enumerate item}{parent=item}
\setbeamercolor{enumerate subitem}{parent=subitem}
\setbeamercolor{enumerate subsubitem}{parent=subsubitem}

\setbeamercolor{itemize item}{parent=item}
\setbeamercolor{itemize subitem}{parent=subitem}
\setbeamercolor{itemize subsubitem}{parent=subsubitem}

\setbeamercolor{itemize/enumerate body}{}
\setbeamercolor{itemize/enumerate subbody}{}
\setbeamercolor{itemize/enumerate subsubbody}{}

\setbeamercolor{description item}{parent=item}

\setbeamercolor{bibliography item}{parent=item}

\setbeamercolor{bibliography entry author}{use=structure,fg=structure.fg}
\setbeamercolor{bibliography entry title}{use=normal text,fg=normal text.fg}
\setbeamercolor{bibliography entry location}{use=structure,fg=structure.fg!65!bg}
\setbeamercolor{bibliography entry note}{use=structure,fg=structure.fg!65!bg}

\setbeamercolor{separation line}{}

\setbeamercolor{upper separation line head}{parent=separation line}
\setbeamercolor{middle separation line head}{parent=separation line}
\setbeamercolor{lower separation line head}{parent=separation line}

\setbeamercolor{upper separation line foot}{parent=separation line}
\setbeamercolor{middle separation line foot}{parent=separation line}
\setbeamercolor{lower separation line foot}{parent=separation line}

\setbeamercolor{abstract}{}
\setbeamercolor{abstract title}{parent=structure}

\setbeamercolor{verse}{}

\setbeamercolor{quotation}{}
\setbeamercolor{quote}{parent=quotation}

\setbeamercolor{page number in head/foot}{parent=palette quaternary}

\setbeamercolor{qed symbol}{parent=structure}


\mode
<all>