PeachPDF
PeachPDF
PdfColorScheme Enum
The color scheme the renderer reports to the CSS prefers-color-scheme media feature
(which drives, for example, dark-mode style variants). A static PDF has no user/OS
preference, so this is chosen by the caller via
PreferredColorScheme; it defaults to Light.
public enum PdfColorScheme
Fields
Light 0
Report prefers-color-scheme: light (the default). @media (prefers-color-scheme: dark)
blocks do not apply.
Dark 1
Report prefers-color-scheme: dark, so the document’s dark-mode styles render.