Skip to content

Fix invisible Helix cursorline, ruler, and picker highlights - #6638

Merged
dhh merged 1 commit into
omacom:quattrofrom
lukehsiao-forks:quattro
Aug 9, 2026
Merged

dhh merged 1 commit into
omacom:quattrofrom
lukehsiao-forks:quattro

Conversation

@lukehsiao

Copy link
Copy Markdown
Contributor

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]


After / Before

color0 resolves to plain background, so the four scopes that use it as a
subtle surface paint background-on-background.

Editor shots use cursorline = true and rulers = [80]. The picker shots need
no opt-in: ui.text.focus and ui.highlight are the default file picker, so
the focused row losing its background affects every user.

helix-catppuccin-editor-after helix-catppuccin-editor-before helix-catppuccin-latte-editor-after helix-catppuccin-latte-editor-before helix-catppuccin-picker-after helix-catppuccin-picker-before helix-tokyo-night-editor-after helix-tokyo-night-editor-before

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]>
Copilot AI balanced review requested due to automatic review settings August 8, 2026 15:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes invisible Helix UI highlights by using the semantic contrasting surface color.

Changes:

  • Uses lighter_background for cursorline, ruler, picker focus, and highlights.
  • Adds lighter_background to 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.

@dhh
dhh merged commit 0795ede into omacom:quattro Aug 9, 2026
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]>
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.

3 participants