lachlanjc · GitHub

Is your feature request related to a problem? Please describe.
When printing out a webpage as a PDF or on paper, there’s no way to have Theme UI automatically apply a certain color mode.

Describe the solution you'd like
Just like initialColorModeName, I’d like there to be a new configuration option printColorModeName, which applies that color mode inside @media print.

Describe alternatives you've considered
Haven’t considered alternatives, this seems like the easiest approach.

Additional context
It’s difficult right now to add great printing styles to Theme UI sites, especially when they’re in dark mode. You end up with needing global CSS with lots of !important to make everything the right colors.

Read the original on github.com ↗