Dark Mode Sheet Music

For screen projection and displays of all sorts it’s often preferable to leave the background dark or black and show the content in white, in order to obtain better contrast for difficult lighting conditions or to be easier on the eyes. This snippet introduces two paper variables, print-color and background-color, that will be applied to all printed objects and to the background of the page, respectively. Any objects whose color has been manually specified won’t have print-color applied. NB: This implementation is incompatible with whiteout in 2.24.0, and requires explicit overriding of whiteout-color (or the optional color argument to the \whiteout markup command) in recent 2.25 development versions.