From dd483ff5fcd89713f174071509475dc579816f3a Mon Sep 17 00:00:00 2001 From: Benjamin Weiss Date: Thu, 11 Jun 2015 22:25:27 +0200 Subject: [PATCH] renamed invertcolors to dark colors and added info in README.md --- README.md | 1 + beamercolorthememetropolis.sty | 12 ++++++------ beamerthemem.sty | 6 +++--- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index bab2665..955f1fe 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/beamercolorthememetropolis.sty b/beamercolorthememetropolis.sty index 54e44c0..a890b34 100644 --- a/beamercolorthememetropolis.sty +++ b/beamercolorthememetropolis.sty @@ -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 diff --git a/beamerthemem.sty b/beamerthemem.sty index c8e1341..693eecf 100644 --- a/beamerthemem.sty +++ b/beamerthemem.sty @@ -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: ...