This is what I want to achieve for the sidebar toggle button:
- When hovering:
- When not hovering:
This is what I have now (macOS 26):
- When hovering:
- When not hovering:
I want to remove the border around the button and apply my custom hovering effect, like the images of what I want to achieve above, but no matter what I do, the border of the button is still there (I asked Claude to try many different ways, but nothing works), I think that Apple baked it into the SwiftUI by default
I also tried to create the custom toolbar, but in that case, the buttons Close, Minimize, and Maximize disappear, and I have no way to bring them back.
So how to handle this?



