mirror of https://github.com/matze/mtheme.git
renamed invertcolors to dark colors and added info in README.md
This commit is contained in:
parent
9adb594f2d
commit
dd483ff5fc
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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: ...
|
||||
|
|
Loading…
Reference in New Issue