📚 The CoCalc Library - books, templates and other resources
cocalc-examples / martinthoma-latex-examples / presentations / CNN-Intro / beamercolorthememetropolis.sty
132928 viewsLicense: OTHER
%%1%% This is file `beamercolorthememetropolis.sty',2%% generated with the docstrip utility.3%%4%% The original source files were:5%%6%% beamercolorthememetropolis.dtx (with options: `package')7%% ---------------------------------------------------------------------------8%% Copyright 2015 Matthias Vogelgesang and the LaTeX community. A full list of9%% contributors can be found at10%%11%% https://github.com/matze/mtheme/graphs/contributors12%%13%% and the original template was based on the HSRM theme by Benjamin Weiss.14%%15%% This work is licensed under a Creative Commons Attribution-ShareAlike 4.016%% International License (https://creativecommons.org/licenses/by-sa/4.0/).17%% ---------------------------------------------------------------------------18\NeedsTeXFormat{LaTeX2e}19\ProvidesPackage{beamercolorthememetropolis}[2017/01/23 Metropolis color theme]20\RequirePackage{pgfopts}21\pgfkeys{22/metropolis/color/block/.cd,23.is choice,24transparent/.code=\metropolis@block@transparent,25fill/.code=\metropolis@block@fill,26}27\pgfkeys{28/metropolis/color/background/.cd,29.is choice,30dark/.code=\metropolis@colors@dark,31light/.code=\metropolis@colors@light,32}33\newcommand{\metropolis@color@setdefaults}{34\pgfkeys{/metropolis/color/.cd,35background=light,36block=transparent,37}38}39\definecolor{mDarkBrown}{HTML}{604c38}40\definecolor{mDarkTeal}{HTML}{2C3F6B}41\definecolor{mLightBrown}{HTML}{7473BD}42\definecolor{mLightGreen}{HTML}{14B03D}43\newcommand{\metropolis@colors@dark}{44\setbeamercolor{normal text}{%45fg=black!2,46bg=mDarkTeal47}48\usebeamercolor[fg]{normal text}49}50\newcommand{\metropolis@colors@light}{51\setbeamercolor{normal text}{%52fg=mDarkTeal,53bg=black!254}55}56\setbeamercolor{alerted text}{%57fg=mLightBrown58}59\setbeamercolor{example text}{%60fg=mLightGreen61}62\setbeamercolor{titlelike}{use=normal text, parent=normal text}63\setbeamercolor{author}{use=normal text, parent=normal text}64\setbeamercolor{date}{use=normal text, parent=normal text}65\setbeamercolor{institute}{use=normal text, parent=normal text}66\setbeamercolor{structure}{use=normal text, fg=normal text.fg}67\setbeamercolor{palette primary}{%68use=normal text,69fg=normal text.bg,70bg=normal text.fg71}72\setbeamercolor{frametitle}{%73use=palette primary,74parent=palette primary75}76\setbeamercolor{progress bar}{%77use=alerted text,78fg=alerted text.fg,79bg=alerted text.fg!50!black!3080}81\setbeamercolor{title separator}{82use=progress bar,83parent=progress bar84}85\setbeamercolor{progress bar in head/foot}{%86use=progress bar,87parent=progress bar88}89\setbeamercolor{progress bar in section page}{90use=progress bar,91parent=progress bar92}93\newcommand{\metropolis@block@transparent}{94\setbeamercolor{block title}{%95use=normal text,96fg=normal text.fg,97bg=98}99\setbeamercolor{block body}{100bg=101}102}103\newcommand{\metropolis@block@fill}{104\setbeamercolor{block title}{%105use=normal text,106fg=normal text.fg,107bg=normal text.bg!80!fg108}109\setbeamercolor{block body}{110use={block title, normal text},111bg=block title.bg!50!normal text.bg112}113}114\setbeamercolor{block title alerted}{%115use={block title, alerted text},116bg=block title.bg,117fg=alerted text.fg118}119\setbeamercolor{block title example}{%120use={block title, example text},121bg=block title.bg,122fg=example text.fg123}124\setbeamercolor{block body alerted}{use=block body, parent=block body}125\setbeamercolor{block body example}{use=block body, parent=block body}126\setbeamercolor{footnote}{fg=normal text.fg!90}127\setbeamercolor{footnote mark}{fg=.}128\setbeamercolor{bibliography entry author}{fg=, bg=}129\setbeamercolor{bibliography entry title}{fg=, bg=}130\setbeamercolor{bibliography entry location}{fg=, bg=}131\setbeamercolor{bibliography entry note}{fg=, bg=}132\metropolis@color@setdefaults133\ProcessPgfPackageOptions{/metropolis/color}134\mode<all>135\endinput136%%137%% End of file `beamercolorthememetropolis.sty'.138139140