Dark mode sheet music: Difference between revisions

Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
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.
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.


<lilypond version="2.24.0" full>
<lilypond version="2.24" full>
\version "2.24.0"
\version "2.24.0"
% Concept and UI by Simon Albrecht
% Concept and UI by Simon Albrecht