How does one enable a terminal color profile for macOS Dark Mode?
I had the same problem. Let me first clarify what the issue is,
as the first respondent apparently had trouble understanding it.
Like the OP, I have a few Terminal profiles with black or dark
gray text on pastel backgrounds. For some reason, when macOS goes
into dark mode, there is some internal logic that'll invert this
#000000 (or close to it) text foreground into #FFFFFF (or close
to it), while leaving the background color unchanged. This leads
to the effect shown in the OP's screenshot: white text on fairly
bright background, i.e. basically unreadable.
I've found a simple trick to make this go away: Go to the theme
in preferences, to the &quot;text&quot; tab. In the &quot;text&quot; section on the
right, there are three text foreground chits, for &quot;Text&quot;, for
&quot;Bold Text&quot;, and for the &quot;Selection&quot;. You'll note they're showing
bright instead of dark when you're in dark mode. Click on the Text
one (or any of the others that bother you), switch the color picker
that comes up to the &quot;Color Sliders&quot; view, and select the &quot;HSB
Sliders&quot; setting from the dropdown.
What you'll see now is that although the color shown in the main
preferences screen is white (or bright gray), the bottom slider
for &quot;Brightness&quot; is in fact still set to all the way to the left.
Now here's the trick that I found by accident: pull it that brightness
slider just a little bit to the right, and you'll note the text color
immediately jumps back to dark. Now even if you set it back to the
previous setting, it'll now stay dark.
This reproduceably fixed it for me on Catalina on my MacBook Pro 2019.
Hope it helps others!