Elektrine lite

← Feed

@robotspacer@xoxo.zone

2026-07-03 20:45 UTC

It *is* possible to have more control over the styling of toolbar buttons, using the prominent glass button style with a tint color. I believe this appearance is only possible in SwiftUI though, and on macOS it's a bit of a hack. This would also require a completely custom search button/field. I already have a mostly finished AppKit/UIKit app, so… as much as I prefer this, it's a lot of work just to be fussy about the color of some buttons. #MacDev #iOSDev #SwiftUI

Replies (1)

  • @jnadeau@tech.lgbt 2026-07-06 03:40

    @robotspacer@xoxo.zone it’s unusual but you can do it in AppKit https://developer.apple.com/documentation/appkit/nstoolbaritem/backgroundtintcolor

    Open ##5109140