Skip to content

feat(menu-bar): add monochrome icon mode#24

Merged
eddmann merged 1 commit into
mainfrom
codex/monochrome-icon-toggle
May 18, 2026
Merged

feat(menu-bar): add monochrome icon mode#24
eddmann merged 1 commit into
mainfrom
codex/monochrome-icon-toggle

Conversation

@eddmann
Copy link
Copy Markdown
Owner

@eddmann eddmann commented May 18, 2026

Summary

  • Add a Mono/Color setting for the menu bar icon previews and rendered menu bar image.
  • Render monochrome mode through NSImage.isTemplate, so the icon follows the system menu bar tint.
  • Keep Color as the default and preserve existing saved settings when is_colored_icon is absent.

Attribution

Thanks again to @jeanfw for the great change idea and original proposal in #16. This PR keeps the same user-facing goal while applying it at the renderer/cache layer so the existing icon styles remain unchanged.

Screenshots

Screenshot 2026-05-18 at 19 44 11 Screenshot 2026-05-18 at 19 44 09

@eddmann eddmann force-pushed the codex/monochrome-icon-toggle branch from 111131e to 06743f5 Compare May 18, 2026 18:50
Adds a Mono/Color setting in General so the menu bar icon can render as an NSImage template and inherit the system menu bar tint. Color remains the default to preserve current behavior.

This addresses the feature proposed by @jeanfw in #16 with a smaller renderer-level implementation: icon styles stay unchanged, and MenuBarIconRenderer owns the NSImage.isTemplate translation.

The settings preview cards now use the same renderer path as the real menu bar icon, and settings decoding defaults missing is_colored_icon values to color for existing saved preferences.
@eddmann eddmann force-pushed the codex/monochrome-icon-toggle branch from 06743f5 to 0cce874 Compare May 18, 2026 18:57
@eddmann eddmann merged commit 98c1e3c into main May 18, 2026
1 check passed
@eddmann eddmann deleted the codex/monochrome-icon-toggle branch May 18, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant