StatusItem Color?

Anyone know how to determine the color a statusItem (like the wifi or Dropbox menu) should be?

In Big Sur, this changes from black to white independent of Dark Mode depending upon the color of the desktop background.

Screenshot 2020-12-11 at 12.33.00
Screenshot 2020-12-11 at 12.33.13

My icon on left doesn’t properly adapt unlike the rest

I’m referencing an external picture rather than drawing my own and using MBS’s handy NSStatusItem class.

Have you tried setting the template property of the NSImage that you use with the NSStatusItem?

Thank you! That did it. Working great!

1 Like