From a59b06dab00f110018d6e23e335a7b45dfa7183b Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 27 Jul 2026 10:41:10 +0000 Subject: [PATCH] Editor toolbar: circle the home button to match the Actions pill (0.79.1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same call as the SDK's: a bare glyph is easy to miss for the only way out of an open document. Both home buttons — the desktop one pinned to the bar's far-left margin and the mobile one inside the cluster — become 38px circles carrying the dark pill's own chrome (slate-700 fill, slate-600 hairline), so the two ends of the bar read as a matched pair. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_015TVwu9Zr3bL9vQDfAcEroy --- package-lock.json | 8 ++++---- package.json | 2 +- src/App.tsx | 9 ++++++--- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 368a20b..298e0a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.5.0", "license": "MIT", "dependencies": { - "@unisim/sdk": "^0.79.0", + "@unisim/sdk": "^0.79.1", "konva": "^9.3.20", "pdf-lib": "^1.17.1", "pdfjs-dist": "^4.10.38", @@ -4052,9 +4052,9 @@ } }, "node_modules/@unisim/sdk": { - "version": "0.79.0", - "resolved": "https://registry.npmjs.org/@unisim/sdk/-/sdk-0.79.0.tgz", - "integrity": "sha512-r4sYKo/lEOFL2R1fjwjIv0xfmOcO4t7rHkn2a20oYTfysZB73qS1saDKxGeeH22tK6T9n4g4EYBoN5MoiiTEFw==", + "version": "0.79.1", + "resolved": "https://registry.npmjs.org/@unisim/sdk/-/sdk-0.79.1.tgz", + "integrity": "sha512-25tsFdT8W/dwJU5r4LfNc5a76/1TH9J1FUd/xRBCgcajwsW6g/1l50N7LJgcuDWmY3m6AHjcmXrzxLxjhXOiCg==", "license": "MIT", "peerDependencies": { "@supabase/supabase-js": "^2.45.0", diff --git a/package.json b/package.json index e503b75..e67e199 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "cap:open:android": "npx cap open android" }, "dependencies": { - "@unisim/sdk": "^0.79.0", + "@unisim/sdk": "^0.79.1", "konva": "^9.3.20", "pdf-lib": "^1.17.1", "pdfjs-dist": "^4.10.38", diff --git a/src/App.tsx b/src/App.tsx index 6b715ab..1da7d88 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -165,7 +165,10 @@ export default function App() { {doc && } {doc && (
- {/* Home, pinned to the far left of the bar — out in the margin to the + {/* Home — a filled circle carrying the same chrome as the Actions pill + at the other end of the bar (slate-700 fill, slate-600 hairline, + 38px), because a bare glyph is easy to miss for the only way out + of an open document. Pinned to the far left of the bar — out in the margin to the left of the centred tool cluster, so it reads as window chrome rather than an editing tool. The universal navbar is landing-page only; while a doc is open the dark toolbar is the whole chrome. @@ -181,7 +184,7 @@ export default function App() { onClick={reset} title="Back to home" aria-label="Back to home" - className="p-1.5 rounded-md text-[#ea580c] hover:text-orange-400 hover:bg-slate-800 active:bg-slate-700" + className="h-[38px] w-[38px] shrink-0 inline-flex items-center justify-center rounded-full bg-slate-700 ring-1 ring-slate-600 text-[#ea580c] hover:bg-slate-600 hover:ring-slate-500 hover:text-orange-400 active:bg-slate-500 transition-colors" >