th-f88a55: white template tray icon + connect switcher in Settings - #337
Open
brentrager wants to merge 1 commit into
Open
th-f88a55: white template tray icon + connect switcher in Settings#337brentrager wants to merge 1 commit into
brentrager wants to merge 1 commit into
Conversation
- Tray icon: the teal th mark was low-contrast on a dark menu bar and not a macOS template. Blacken the icon (opaque->black, alpha kept) + setTemplateImage so macOS renders it white on dark / black on light — legible + theme-adaptive. - Settings connect: the daemon switcher (This Mac / tailnet daemons) was tray-only. Add it to Settings > Connection via a minimal preload/IPC bridge (window.bigSmooth: listDaemons + connectTo; sandbox:false for the ESM preload). Browser PWA (no bridge) degrades to a pointer at the menu-bar app. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L3xMBWMtMRNayBC2GjHntk
🦋 Changeset detectedLatest commit: 17b0edb The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tray icon (the ask: "white letters, too hard to see")
The menu-bar
thmark was the teal→blue brand mark — low-contrast on a dark menu bar — and wasn't a macOS template image. Now:tray.png/tray@2x.pngare blackened (opaque→black, alpha preserved).icon.setTemplateImage(true)— macOS renders a template icon white on a dark menu bar, black on a light one, adapting to the theme. Always legible.Connect switcher in Settings (the ask: "can that option also be in settings")
The daemon switcher (This Mac / discovered tailnet daemons like smoo-hub) was tray-only. Settings → Connection now has it:
window.bigSmooth=listDaemons+connectTo) — the renderer couldn't drive the app before (no preload/IPC).sandbox: falseso the ESM preload loads (Electron 40); the exposed surface is just those two contextBridge methods.Verification
pnpm typecheck(desktop) clean; SPAvite buildgreen; oxfmt clean.🤖 Generated with Claude Code