%% This is file `beamercolorthemeTUDa.sty' version 3.39 (2024-06-27),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
%%
%%  Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de>
%%
%% ============================================================================
%% This work 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
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2008/05/04 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainers of this work are
%%   Marei Peischl <tuda-ci@peitex.de>
%%
%% The development respository can be found at
%% https://github.com/tudace/tuda_latex_templates
%% Please use the issue tracker for feedback!
%%
%% ============================================================================
%%
\NeedsTeXFormat{LaTeX2e}[2022/06/01]
\ProvidesPackage{beamercolorthemeTUDa}[2024-01-22 v3.35]

\ExplSyntaxOn
\clist_map_inline:nn {
	colortitle,
	colorbacktitle,
	colorframetitle,
	colorback
} {
	\keys_define:nn {ptxcd/beamer/color} {#1 .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {#1}}
}

\keys_define:nn {ptxcd/beamer/color} {

}
\ExplSyntaxOff

\ProcessKeyOptions[ptxcd/beamer/color]

\RequirePackage{tudacolors}

\definecolorset{HTML}{TUDa-}{}{%
	dark1,000000;%
	dark2,44546A;%
	light1,FFFFFF;%
	light2,E7E6E6;%
	accent1,E6001A;%
	accent2,004E8A;%
	accent3,009CDA;%
	accent4,00689D;%
	accent5,B5B5B5;%
	accent5,535353;%
	hyperlink,243572%
}

\mode<presentation>

\setbeamercolor*{title}{parent=normal text}
\setbeamercolor{subtitle}{parent=title}
\setbeamercolor{author}{parent=title}
\setbeamercolor{institute}{parent=title}
\setbeamercolor{date}{parent=title}
\setbeamercolor{titlelike}{parent=title}

\setbeamercolor*{author}{parent=title}
\setbeamercolor*{institute}{parent=title}

\setbeamercolor*{normal text}{bg=,fg=black}
\setbeamercolor*{background canvas}{parent=normal text}
\setbeamercolor*{section in toc}{parent=normal text}
\setbeamercolor*{footline}{parent=normal text}

\setbeamercolor*{alerted text}{fg=textaccentcolor}
\setbeamercolor*{structure}{fg=black}

\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}
\setbeamercolor{bibliography entry note}{use=structure,fg=normal text.fg}



\setbeamercolor*{block title}{fg=textonaccentcolor,bg=accentcolor}
\setbeamercolor*{block body}{fg=black,bg=black!15}

\setbeamercolor*{block title alerted}{fg=TUDa-accent1,bg=TUDa-light2}
\setbeamercolor*{block body alerted}{use=normal text, bg=white}
\setbeamercolor*{block frame alerted}{bg=TUDa-accent1}

\setbeamercolor*{block title example}{fg=TUDa-accent2,bg=TUDa-light2}
\setbeamercolor*{block body example}{use=normal text, bg=white}
\setbeamercolor*{block frame example}{bg=TUDa-accent2}

\setbeamercolor{footline}{fg=black!50}

\mode<all>

\endinput
