Repository navigation
Honor menu.selectedText and Color.accent across selection surfaces - #126
Open
salmun-nister wants to merge 1 commit into
Open
salmun-nister wants to merge 1 commit into
salmun-nister wants to merge 1 commit into
Conversation
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 #125
Summary
Themes with opaque light or bright
[menu]selection fills and darkselected-text(e.g., Aqua Daydream, Moodpeak, Saga) rendered unreadable selected rows and invisible dark-on-dark accent elements (search caret, focused argument pills, unselected favorite/check icons) in omacast.Changes
ui/LauncherWindow.qml:look.accent(Commons.Color.accent) fromlook.selectedText(Commons.Color.menu.selectedText) so non-selected accent elements on the card background always use the theme's accent color.look.selectedSecondaryandlook.selectedInvertedviacore/Look.js.core/Look.js&tests/look.test.js:selectedSecondaryUsesForeground(background, foreground, selectedBackground)that compositesselectedBackgroundoverbackgroundand checks whetherforegroundkeeps ≥ 4.5:1 contrast.foreground, preserving neutral readability and the inline calculator's input-vs-answer hierarchy.selectedText.ui/ResultRow.qml:title,glyph, calculator answer, selected favorite/checked icons) useselectedText, matching Omarchy's nativeMenu.qml.subtitle,typeLabel,aliasbadge, calculator input/captions/arrow) useselectedSecondary.subtitle(0.70) andtypeLabel(0.65) opacity for stronger contrast and soften calculator input (0.75) so the bold answer remains visually distinct.ui/ActionPanel.qml&ui/Alert.qml:selectedTextfor icon/label andselectedSecondaryforKeyHint.Screenshots (Before | After)
Aqua Daydream (opaque light selection pill + dark
selected-text)Tokyo Night (default dark theme — translucent selection wash)
Additional theme checks: Moodpeak (saturated opaque pill) & Catppuccin Latte (light theme)
Moodpeak
Catppuccin Latte
Testing
node --test tests/*.test.js: 192 pass, 0 fail, 2 skipped (including 3 new tests intests/look.test.js)omarchy plugin validate .: passedtests/smoke.sh: all checks pass (omacast doctorreports no QML errors in the shell log, worst toggle latency 49 ms)Confidence Score: 5/5

The PR appears safe to merge; no actionable defects were found.Summary
Separates accent colors from selected text colors and updates selection surfaces to use the right theme colors.
Reviews (1) · Last reviewed commit: "Honor menu.selectedText and Color.accent..." · Reviewed by Greptile