How can I have MacOS like window controls (traffic light)?

What I’m trying to do

To make the window control buttons be like how they are on obsidian in MacOS because the rest of the KDE theme that I have is like that with every other window.

Things I have tried

Changing to native window mode. This gives a top bar, which I don’t want as that is not how it is in MacOS.
Tried a CSS snippet that is made for another program. It just didn’t work at all.
Creating a CSS snippet myself. The buttons just disappeared.
Changing the class of the body from mod-linux to mod-macos. This just made the window controls disappear.