fix(macos): use monochrome template icon for menu bar tray#420
Open
sopenlaz0 wants to merge 3 commits intoZackriya-Solutions:mainfrom
Open
fix(macos): use monochrome template icon for menu bar tray#420sopenlaz0 wants to merge 3 commits intoZackriya-Solutions:mainfrom
sopenlaz0 wants to merge 3 commits intoZackriya-Solutions:mainfrom
Conversation
The tray icon was using the full-color app icon (purple gradient), which looked out of place in the macOS menu bar. This replaces it with a dedicated monochrome pencil character icon and marks it as a macOS template image so the system automatically handles light/dark mode rendering. Changes: - Add `tray_icon.png`: monochrome 44x44 pencil icon (black on transparent) - Update `tray.rs`: load dedicated tray icon via `include_bytes!` - Set `icon_as_template(true)` for native macOS menu bar styling - Enable `image-png` Tauri feature for PNG decoding support Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…dering macOS template images render purely from the alpha channel — opaque white pixels look identical to opaque black. Convert the 64 white "eye" pixels to fully transparent so they appear as cutouts, letting the menu bar background show through and preserving the Meetily pencil character look in both light and dark mode. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace the hand-drawn pencil icon with a proper monochrome conversion of the real Meetily app icon. Uses luminance-based alpha mapping so the logo text and pencil character appear as detail within the rounded-rect shape, matching the actual brand. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
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.

Fixes #421
Summary
The macOS menu bar tray icon currently displays the full-color app icon (purple gradient), which looks out of place next to other native monochrome menu bar icons.
This PR fixes that by:
tray_icon.png) — a 44×44 template-safe version of the actual Meetily app iconicon_as_template(true)— tells macOS to treat it as a template image, so the system automatically renders it in the correct color for light/dark modeimage-pngTauri feature — required forImage::from_bytes()PNG decodingBefore / After
Changes
frontend/src-tauri/icons/tray_icon.pngfrontend/src-tauri/src/tray.rsicon_as_template(true)frontend/src-tauri/Cargo.tomlimage-pngfeature to tauri dependencyHow it works
macOS menu bar icons should be template images — monochrome shapes on a transparent background. The system automatically:
Previously,
tray.rsusedapp.default_window_icon()(the full-color purple app icon). This PR replaces that with a purpose-built monochrome version of the Meetily app icon embedded at compile time viainclude_bytes!.The tray asset uses only black visible pixels plus alpha, so macOS can recolor it cleanly as a template image without carrying over the purple gradient.
Build verification
Test plan
binaries/llama-helper-*placeholder — see note above)