2 %% This is file `beamercolorthememetropolis.sty',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% beamercolorthememetropolis.dtx (with options: `package')
8 %% ---------------------------------------------------------------------------
9 %% Copyright 2015 Matthias Vogelgesang and the LaTeX community. A full list of
10 %% contributors can be found at
12 %% https://github.com/matze/mtheme/graphs/contributors
14 %% and the original template was based on the HSRM theme by Benjamin Weiss.
16 %% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
17 %% International License (https://creativecommons.org/licenses/by-sa/4.0/).
18 %% ---------------------------------------------------------------------------
19 \NeedsTeXFormat{LaTeX2e}
20 \ProvidesPackage{beamercolorthememetropolis}[2017/01/23 Metropolis color theme]
21 \RequirePackage{pgfopts}
23 /metropolis/color/block/.cd,
25 transparent/.code=\metropolis@block@transparent,
26 fill/.code=\metropolis@block@fill,
29 /metropolis/color/background/.cd,
31 dark/.code=\metropolis@colors@dark,
32 light/.code=\metropolis@colors@light,
34 \newcommand{\metropolis@color@setdefaults}{
35 \pgfkeys{/metropolis/color/.cd,
40 \definecolor{mDarkBrown}{HTML}{604c38}
41 \definecolor{mDarkTeal}{HTML}{23373b}
42 \definecolor{mLightBrown}{HTML}{EB811B}
43 \definecolor{mLightGreen}{HTML}{14B03D}
44 \newcommand{\metropolis@colors@dark}{
45 \setbeamercolor{normal text}{%
49 \usebeamercolor[fg]{normal text}
51 \newcommand{\metropolis@colors@light}{
52 \setbeamercolor{normal text}{%
57 \setbeamercolor{alerted text}{%
60 \setbeamercolor{example text}{%
63 \setbeamercolor{titlelike}{use=normal text, parent=normal text}
64 \setbeamercolor{author}{use=normal text, parent=normal text}
65 \setbeamercolor{date}{use=normal text, parent=normal text}
66 \setbeamercolor{institute}{use=normal text, parent=normal text}
67 \setbeamercolor{structure}{use=normal text, fg=normal text.fg}
68 \setbeamercolor{palette primary}{%
73 \setbeamercolor{frametitle}{%
75 parent=palette primary
77 \setbeamercolor{progress bar}{%
80 bg=alerted text.fg!50!black!30
82 \setbeamercolor{title separator}{
86 \setbeamercolor{progress bar in head/foot}{%
90 \setbeamercolor{progress bar in section page}{
94 \newcommand{\metropolis@block@transparent}{
95 \setbeamercolor{block title}{%
100 \setbeamercolor{block body}{
104 \newcommand{\metropolis@block@fill}{
105 \setbeamercolor{block title}{%
108 bg=normal text.bg!80!fg
110 \setbeamercolor{block body}{
111 use={block title, normal text},
112 bg=block title.bg!50!normal text.bg
115 \setbeamercolor{block title alerted}{%
116 use={block title, alerted text},
120 \setbeamercolor{block title example}{%
121 use={block title, example text},
125 \setbeamercolor{block body alerted}{use=block body, parent=block body}
126 \setbeamercolor{block body example}{use=block body, parent=block body}
127 \setbeamercolor{footnote}{fg=normal text.fg!90}
128 \setbeamercolor{footnote mark}{fg=.}
129 \setbeamercolor{bibliography entry author}{fg=, bg=}
130 \setbeamercolor{bibliography entry title}{fg=, bg=}
131 \setbeamercolor{bibliography entry location}{fg=, bg=}
132 \setbeamercolor{bibliography entry note}{fg=, bg=}
133 \metropolis@color@setdefaults
134 \ProcessPgfPackageOptions{/metropolis/color}
138 %% End of file `beamercolorthememetropolis.sty'.