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 in following format: #current/#total. By default, just current page number is
printed. printed.
* Option `noslidenumbers` omits slide numbers entirely. * Option `noslidenumbers` omits slide numbers entirely.
* Option `darkcolors` makes the background dark and the foreground light.
#### Color customization #### Color customization

View File

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

View File

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