SF Symbol image color in the menu bar

I can set color of the SF symbol image in the application window but cannot do the same in the menu bar. I wonder how I can change the color in the menu?

import SwiftUI

@main
struct ipmenuApp: App {
    var body: some Scene {
        MenuBarExtra {
            Image(systemName: "bookmark.circle.fill")
                .renderingMode(.original)
                .foregroundStyle(.red)
        } label: {
            Image(systemName: "bookmark.circle.fill")
                .renderingMode(.original)
                .foregroundStyle(.red)
        }
    }
}

xcodebuild -version
Xcode 15.0
Build version 15A240d
Post not yet marked as solved Up vote post of egor10_4 Down vote post of egor10_4
640 views
  • I also wonder if it's supported at all?

  • Crickets. Inquiring minds want to know...

Add a Comment

Replies

resize does not work either

xcodebuild -version Xcode 15.1 Build version 15C65