I want to print an NSView to the printer while in dark mode. For an NSTextField, I get a white background and white text, so it is unreadable.
What should I set the background and text colors to so it will print white background and black text? I currently have text color set to Text Color and background set to Text Background color, which works in light mode, but not in dark mode.
I understand the advice is to set it bthrough appearance, like in
class MyContentView : NSView {
func adoptAquaAppearance()
self.appearance = NSAppearance(named: .aqua)
}
}