From 6085cbd217e6f701d53cfdf43f3a6897d0d09f84 Mon Sep 17 00:00:00 2001 From: hl-valdemar Date: Sat, 17 Oct 2026 01:20:01 +0200 Subject: [PATCH] style: add subtle borders to emoji tiles --- README.md | 2 ++ Sources/Conjure/EmojiPickerController.swift | 2 ++ TODO.md | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c1620ef..2fa85f9 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,8 @@ Rates are shared across queries and refreshed on the next currency query after t Search for **Conjure Emoji**, identified by its centered 🤔 icon, and open it. Browse the grid or search by name, keyword, `:shortcode:`, or emoji. Use the category menu to filter results or show **Recently Used**. Your last 30 selections are saved locally. Favorites appear first, followed by recent selections when browsing All Emoji. +Each emoji tile has the same subtle rounded border used elsewhere in Conjure; the selected tile retains its accent fill. + Use the arrow keys or Control-H/J/K/L to navigate left/down/up/right; the grid scrolls to keep the selected emoji visible. Return, clicking an emoji, or **Copy and Paste** copies it, dismisses Conjure, and tries to paste into the app that was focused when the launcher opened. Automatic pasting requires **System Settings → Privacy & Security → Accessibility → Conjure**; macOS prompts if permission is missing. After granting it, select an emoji again. If permission is denied, the previous app is unavailable, or focus cannot be restored promptly, the emoji stays copied for manual Command-V. The Back chevron returns to the launcher and restores your search. If macOS keeps prompting despite an enabled Accessibility entry, quit Conjure, remove its stale entry with the minus button, add the exact app you launch (normally `/Applications/Conjure.app`), enable it, then reopen Conjure and retry. Avoid switching between installed and `.build` copies. For permission that survives rebuilds, configure certificate signing as described above. **Copy Emoji** followed by manual Command-V works without this permission. diff --git a/Sources/Conjure/EmojiPickerController.swift b/Sources/Conjure/EmojiPickerController.swift index fb3ecb5..c3b2919 100644 --- a/Sources/Conjure/EmojiPickerController.swift +++ b/Sources/Conjure/EmojiPickerController.swift @@ -294,6 +294,8 @@ private final class EmojiItem: NSCollectionViewItem { button.action = #selector(copyEmoji) button.wantsLayer = true button.layer?.cornerRadius = 10 + button.layer?.borderWidth = 0.5 + button.layer?.borderColor = SunsetPalette.secondaryText.withAlphaComponent(0.22).cgColor view = button } diff --git a/TODO.md b/TODO.md index b20e546..ac1ac26 100644 --- a/TODO.md +++ b/TODO.md @@ -10,5 +10,5 @@ - support switching between notes - highlight markdown syntax - allow images -- [ ] put the border already in use on some elements around the emoji containers in the emoji picker. +- [x] put the border already in use on some elements around the emoji containers in the emoji picker. - [ ] improve on the conjure translation command \ No newline at end of file