renamed invertcolors to dark colors and added info in README.md

This commit is contained in:
Benjamin Weiss 2015-06-11 22:25:27 +02:00
parent 9adb594f2d
commit dd483ff5fc
3 changed files with 10 additions and 9 deletions

View File

@ -66,6 +66,7 @@ the slides, i.e.
in following format: #current/#total. By default, just current page number is
printed.
* Option `noslidenumbers` omits slide numbers entirely.
* Option `darkcolors` makes the background dark and the foreground light.
#### Color customization

View File

@ -22,13 +22,13 @@
% Options
% =======
% Option: invertcolors
% Option: darkcolors
% makes the background dark and the foreground light
\newif\if@beamer@metropolis@invertcolors
\@beamer@metropolis@invertcolorsfalse
\DeclareOptionBeamer{invertcolors}{
\@beamer@metropolis@invertcolorstrue
\newif\if@beamer@metropolis@darkcolors
\@beamer@metropolis@darkcolorsfalse
\DeclareOptionBeamer{darkcolors}{
\@beamer@metropolis@darkcolorstrue
}
% Option: ...
@ -69,7 +69,7 @@
% in your preamble.
%
\if@beamer@metropolis@invertcolors
\if@beamer@metropolis@darkcolors
\setbeamercolor{normal text}{%
fg=black!2,
bg=mDarkTeal

View File

@ -81,11 +81,11 @@
\PassOptionsToPackage{blockbg}{beamercolorthememetropolis}%
}
% Option: invertcolors
% Option: darkcolors
% makes the background dark and the foreground light
\DeclareOptionBeamer{invertcolors}{
\PassOptionsToPackage{invertcolors}{beamercolorthememetropolis}%
\DeclareOptionBeamer{darkcolors}{
\PassOptionsToPackage{darkcolors}{beamercolorthememetropolis}%
}
% Option: ...