macOS Dark Mode and NSAboutPanelOptionCredits

The trick is to use semantic colors.

Using Xcode, edit your RTF file. Select the text and bring up the text color picker.

Xcode adds the Developer colors to the color picker. Select the appropriate semantic color for your text; I tend to use labelColor, secondaryLabelColor, and linkColor.

When you switch to dark mode, these semantic colors change appropriately.


The 10.14 AppKit Release Notes may be helpful:

Appearance-Aware Credits

You make the credits area match the appearance of an app by supplying the credits as an attributed string or by placing a Credits.rtf or Credits.rtfd in your app's bundle. Use the proper system colors, like textColor, linkColor, and labelColor, to make text display correctly in any appearance. If you use .rtf or .rtfd files to supply text for the credits area, the file must be saved using macOS 10.14 (beta 5 or later) to receive the appearance-aware treatment. If you create the file .rtf or .rtfd files on an earlier version of macOS, the appearance-aware treatment is only applied if the file contains only black text with no background color.


for whom needs it.. enter image description here

when opens:

enter image description here