Repository navigation
Fix invisible Helix cursorline, ruler, and picker highlights - #6638
Merged
Merged
Conversation
afa2839 (Rename bg/fg palette keys to background/foreground) aliased `color0` to plain background in theme color resolution, but the Helix template still uses `color0` as the subtle surface shade behind `ui.cursorline.primary`, `ui.virtual.ruler`, `ui.highlight`, and `ui.text.focus`. All four now render at exactly the background color and vanish: no cursorline, no ruler, and the picker's focused row is only distinguishable by its bold text. This is the same failure that d80c98f ("Make color0 distinct from background/foreground and fix helix theme", #5538) fixed back when themes defined color0 directly. Point those scopes at `lighter_background`, the semantic key for a surface one step off the background. Every first-party theme defines it distinct from background except Last Horizon and Solitude, which set the two equal on purpose; those, and legacy themes whose `lighter_background` falls back to background, render exactly as they do today. Assisted-by: Claude:claude-fable-5 Signed-off-by: Luke Hsiao <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes invisible Helix UI highlights by using the semantic contrasting surface color.
Changes:
- Uses
lighter_backgroundfor cursorline, ruler, picker focus, and highlights. - Adds
lighter_backgroundto the Helix palette.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
nick1udwig
pushed a commit
to nick1udwig/omarchy
that referenced
this pull request
Sep 9, 2026
…6638) afa2839 (Rename bg/fg palette keys to background/foreground) aliased `color0` to plain background in theme color resolution, but the Helix template still uses `color0` as the subtle surface shade behind `ui.cursorline.primary`, `ui.virtual.ruler`, `ui.highlight`, and `ui.text.focus`. All four now render at exactly the background color and vanish: no cursorline, no ruler, and the picker's focused row is only distinguishable by its bold text. This is the same failure that d80c98f ("Make color0 distinct from background/foreground and fix helix theme", omacom#5538) fixed back when themes defined color0 directly. Point those scopes at `lighter_background`, the semantic key for a surface one step off the background. Every first-party theme defines it distinct from background except Last Horizon and Solitude, which set the two equal on purpose; those, and legacy themes whose `lighter_background` falls back to background, render exactly as they do today. Assisted-by: Claude:claude-fable-5 Signed-off-by: Luke Hsiao <[email protected]>
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.
afa2839 (Rename bg/fg palette keys to background/foreground)
aliased
color0to plain background in theme color resolution, butthe Helix template still uses
color0as the subtle surface shadebehind
ui.cursorline.primary,ui.virtual.ruler,ui.highlight, andui.text.focus. All four now render at exactly the background colorand vanish: no cursorline, no ruler, and the picker's focused row is
only distinguishable by its bold text. This is the same failure that
d80c98f ("Make color0 distinct from background/foreground and fix
helix theme", #5538) fixed back when themes defined color0 directly.
Point those scopes at
lighter_background, the semantic key for asurface one step off the background. Every first-party theme defines it
distinct from background except Last Horizon and Solitude, which
set the two equal on purpose; those, and legacy themes whose
lighter_backgroundfalls back to background, render exactly as theydo today.
Assisted-by: Claude:claude-fable-5
Signed-off-by: Luke Hsiao [email protected]
After / Before
color0resolves to plain background, so the four scopes that use it as asubtle surface paint background-on-background.
Editor shots use
cursorline = trueandrulers = [80]. The picker shots needno opt-in:
ui.text.focusandui.highlightare the default file picker, sothe focused row losing its background affects every user.