Dark Mode seems so simple, but turns out to be a lot more complex. Every so often I turn over a fresh stone in Mojave’s otherwise excellent implementation, and discover another crab waiting to bite. Here are two recent stones which I have added to the list of bugs in Mojave 10.14.

QuickLook rendering of Rich Text

As I explained in my earlier article of today, about my renegade RTF editor DelightEd, Rich Text can be encoded so that it switches mode properly, using an expanded colour table \expandedcolortbl containing a text colour named textColor, such as
\cssrgb\c0\c0\c0\cname textColor

When macOS renders text set in that foreground colour, it is displayed in black on a white background in Light Mode, and white on a black background in Dark Mode. Although TextEdit and most editors don’t use this feature, as they keep their text views in permanent Light Mode, it works a treat in badly-behaved editors such as my DelightEd which do change the mode of their text views.

Read more at eclecticlight.co

Leave a Reply

Discover more from

Subscribe now to keep reading and get access to the full archive.

Continue reading