%% %% This is file `beamercolorthemetrigon.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% beamercolorthemetrigon.dtx (with options: `package') %% --------------------------------------------------------------------------- %% Copyright (C) 2021 Thomas Lambert %% Other contributors to this theme are listed here: %% https://gitlab.com/thlamb/beamertheme-trigon/-/graphs/master %% %% The original template was heavily inspired by Metropolis from Matthias %% Vogelgesang. %% %% License CC-BY-SA 4.0 %% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 %% International License (https://creativecommons.org/licenses/by-sa/4.0/) %% --------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{beamercolorthemetrigon}[2023/02/20 v0.7.0 Trigon color theme] \RequirePackage{pgfopts} \pgfkeys{ /trigon/color/background/.cd, .is choice, dark/.code=\trigon@colors@dark, light/.code=\trigon@colors@light } \def\headcol{tDefaulttxt} \pgfkeys{ /trigon/color/headingcolor/.cd, .is choice, default/.code=\def\headcol{tTxt}, theme/.code=\def\headcol{tPrim} } \def\txtcol{black} \pgfkeys{ /trigon/color/textcolor/.cd, .is choice, default/.code=\def\txtcol{tTxt}, theme/.code=\def\txtcol{tPrim!50!tTxt} } \pgfkeys{ /trigon/color/block/.cd, .is choice, transparent/.code=\trigon@block@transparent, fill/.code=\trigon@block@fill } \newcommand{\trigon@color@setdefaults}{ \pgfkeys{/trigon/color/.cd, background=light, block=fill, headingcolor=default, textcolor=default } } \definecolor{tGreenBlue}{HTML}{00707F} \definecolor{tGreenBlueLight}{HTML}{5FA4B0} \definecolor{tOrange}{HTML}{F07F3C} \definecolor{tYellowOrange}{HTML}{F8AA00} \definecolor{tBeigePale}{HTML}{E6E6E1} \definecolor{tBeige}{HTML}{C6C0B4} \definecolor{tDarkBg}{HTML}{232931} \definecolor{tDarkFg}{HTML}{EEEEEE} \definecolor{tLightBg}{HTML}{FFFFFF} \newcommand{\trigon@colors@dark}{ \colorlet{tPrim}{tGreenBlueLight} \colorlet{tSec}{tGreenBlue} \colorlet{tAccent}{tYellowOrange} \colorlet{tTxt}{tDarkFg} \colorlet{tBg}{tDarkBg} \colorlet{tGreyBg}{tGrey!7!tBg} } \newcommand{\trigon@colors@light}{ \colorlet{tPrim}{tGreenBlue} \colorlet{tSec}{tGreenBlue} \colorlet{tAccent}{tOrange} \colorlet{tTxt}{black} \colorlet{tBg}{tLightBg} \colorlet{tGreyBg}{tGrey!25!tBg} } \colorlet{tGrey}{tBeige} \colorlet{tTheme}{tGreenBlue} \setbeamercolor{background canvas}{bg=tBg} \setbeamercolor{normal text}{fg=\txtcol, bg=tBg} \setbeamercolor{example text}{fg=tPrim} \setbeamercolor{alerted text}{fg=tAccent} \setbeamercolor{title}{fg=\headcol, bg= , parent=normal text} \setbeamercolor{titlelike}{use=title, parent=title} \setbeamercolor{author}{use=normal text, bg= , parent=normal text} \setbeamercolor{date}{use=normal text, bg= , parent=normal text} \setbeamercolor{institute}{use=normal text, parent=normal text} \setbeamercolor{structure}{use=normal text, fg=normal text.fg} \setbeamercolor{palette primary}{use=titlelike, parent=titlelike} \setbeamercolor{frametitle}{use=titlelike, parent=titlelike} \newcommand{\trigon@block@transparent}{ \setbeamercolor{block title}{% use=normal text, fg=normal text.fg, bg=normal text.bg!96!fg } \setbeamercolor{block body}{ use={block title, normal text}, bg=block title.bg!35!normal text.bg } } \newcommand{\trigon@block@fill}{ \setbeamercolor{block title}{% use=normal text, fg=normal text.fg, bg=normal text.bg!80!normal text.fg } \setbeamercolor{block body}{ use={block title, normal text}, bg=block title.bg!50!normal text.bg } } \setbeamercolor{block title alerted}{% use={block title, alerted text}, bg=block title.bg, fg=alerted text.fg } \setbeamercolor{block title example}{% use={block title, example text}, bg=block title.bg, fg=example text.fg } \setbeamercolor{block body alerted}{use=block body, parent=block body} \setbeamercolor{block body example}{use=block body, parent=block body} \setbeamercolor{footnote}{fg=normal text.fg!90!normal text.bg} \setbeamercolor{footnote mark}{fg=.} \setbeamercolor{footline}{fg=normal text.fg!50!normal text.bg, parent=normal text} \setbeamercolor{caption}{fg=normal text.fg!60!normal text.bg, parent=normal text} \setbeamercolor{itemize item}{use=example text, parent=example text} \setbeamercolor{itemize subitem}{use=itemize item, parent=itemize item} \setbeamercolor{itemize subsubitem}{use=itemize item, parent=itemize item} \setbeamercolor{enumerate item}{use=example text, parent=example text} \setbeamercolor{enumerate subitem}{use=enumerate item, parent=enumerate item} \setbeamercolor{enumerate subsubitem}{use=enumerate item, parent=enumerate item} \setbeamercolor{description item}{use=example text, parent=example text} \trigon@color@setdefaults \ProcessPgfPackageOptions{/trigon/color} \endinput %% %% End of file `beamercolorthemetrigon.sty'.