This template should help get you started make a tauri app with a macos style titlebar (aka traffic light).
Just need to copy codes from src/App.tsx
and src/App.css
, and change src-tauri/tauri.conf.json
to disable original titlebar.
A Tauri app template for making macOS style titlebar.
CSS