I have an embedded WebView in my Mac app. I use it to display HTML text (generated from Markdown.)
I'm trying to make it adopt Dark Mode in Mojave (similar to the way an NSTextView does 'out the box'.)
Is this possible - or do I need to manually insert some CSS stuff into the HTML to specifically set the colors?
Assuming it's the latter - does anyone know how to do this in a generic way (i.e. get the CSS to detect whether it needs to be dark or light based on the client browser.)
Thanks in advance...