libs-gui
libs-gui copied to clipboard
Add setBezelColor for NSButton
Since macOS Monterey, NSButtons have the ability to configure the background color with 'setBezelColor'. It is not an essential need, but it is desirable. According to Apple's documentation:
The new tinting API provides a way to override the color for one specific control. This is great for controls where you’d like to apply a semantically meaningful color. For example, if your app uses a specific shade of orange to distinguish a preorder from a normal purchase, you can reinforce that design using a tinted button.