feat(macos): implement transparent titlebar with custom background color

- Add transparent titlebar configuration in tauri.conf.json
- Implement macOS titlebar background color matching main UI banner (#3498db)
- Replace deprecated cocoa crate with modern objc2-app-kit
- Preserve native window functionality (drag, traffic lights)
- Remove all deprecation warnings from build process

The titlebar now seamlessly matches the application's blue theme while
maintaining all native macOS window management features.
This commit is contained in:
Jason
2025-08-25 23:06:54 +08:00
parent 78bc0a1a31
commit 70f9a68e5c
4 changed files with 39 additions and 1 deletions

2
src-tauri/Cargo.lock generated
View File

@@ -96,6 +96,8 @@ version = "0.1.0"
dependencies = [
"dirs 5.0.1",
"log",
"objc2 0.5.2",
"objc2-app-kit 0.2.2",
"serde",
"serde_json",
"tauri",