From 7e9dc1cc64adc50564ac1f6ab0e5985eb3e8ee55 Mon Sep 17 00:00:00 2001 From: cyph3rasi Date: Wed, 15 Jul 2026 16:44:04 -0700 Subject: [PATCH] Move macOS traffic lights into a separate dark native title bar Hop-State: A_06FPGAM56HWTNHR51V8C8ER Hop-Proposal: R_06FPGAK21NPYNM5F8G9D1YG Hop-Task: T_06FPG9KFDZWAYM9PGCZTAHG Hop-Attempt: AT_06FPG9KFDYGG2TPC5PABM1G --- src-tauri/capabilities/default.json | 1 - src-tauri/tauri.conf.json | 4 +++- src/App.css | 1 - src/App.tsx | 7 +++---- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 6d90ad0..b704cce 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -5,7 +5,6 @@ "windows": ["main"], "permissions": [ "core:default", - "core:window:allow-start-dragging", "notification:default" ] } diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index aef5e8d..a9502b2 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -19,7 +19,9 @@ "minHeight": 820, "center": true, "hiddenTitle": true, - "titleBarStyle": "Overlay" + "titleBarStyle": "Visible", + "theme": "Dark", + "backgroundColor": "#080909" } ], "security": { diff --git a/src/App.css b/src/App.css index da090a1..6e2022f 100644 --- a/src/App.css +++ b/src/App.css @@ -21,7 +21,6 @@ button:focus-visible, input:focus-visible { outline: 2px solid #fff; outline-off .panel-status { position: absolute; z-index: 2; bottom: 34px; left: 48px; right: 38px; display: flex; justify-content: space-between; color: rgba(255,255,255,.3); font: 500 9px "Roboto Mono", monospace; letter-spacing: 1.4px; } .form-panel { position: relative; overflow-y: auto; background: radial-gradient(circle at 85% 10%, rgba(255,255,255,.035), transparent 31%), #0c0d0d; } -.drag-strip { position: fixed; z-index: 1; top: 0; right: 0; width: 55%; height: 36px; } .back-button { position: absolute; z-index: 2; top: 46px; left: 46px; display: flex; align-items: center; gap: 7px; padding: 7px 0; border: 0; background: transparent; color: rgba(255,255,255,.55); font-size: 13px; cursor: pointer; } .back-button:hover { color: #fff; } .form-wrap { width: min(440px, calc(100% - 80px)); min-height: calc(100% - 66px); margin: 0 auto; display: flex; align-items: center; padding: 78px 0 68px; } diff --git a/src/App.tsx b/src/App.tsx index e8128a3..68c2755 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -384,7 +384,7 @@ function App() { const name = user.displayName?.trim() || user.handle.replace(/^@/, "").split("@")[0]; return (
-