From 2a5db9ed781bd9f009280b997807ffdfef98a354 Mon Sep 17 00:00:00 2001 From: Luke Hsiao Date: Wed, 6 May 2026 12:38:08 -0600 Subject: [PATCH] Fix helix theme's word selection colors (#5630) * Fix helix theme's word selection colors Without this fix, if users enabled `editor.cursorline`, the word selection would not be visually distinct from the cursorline selection. Closes: https://github.com/basecamp/omarchy/issues/5580 Signed-off-by: Luke Hsiao * Make Retro-82 color0 visually distinct from background Signed-off-by: Luke Hsiao * Make matte-black selection background distinct from color0 Signed-off-by: Luke Hsiao --------- Signed-off-by: Luke Hsiao --- default/themed/helix.toml.tpl | 2 +- themes/matte-black/colors.toml | 2 +- themes/retro-82/colors.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/default/themed/helix.toml.tpl b/default/themed/helix.toml.tpl index 90ba441c..3cbe3067 100644 --- a/default/themed/helix.toml.tpl +++ b/default/themed/helix.toml.tpl @@ -87,7 +87,7 @@ "ui.virtual.jump-label" = { fg = "color1", modifiers = ["bold"] } "ui.virtual.whitespace" = "color8" -"ui.selection" = { bg = "color0" } +"ui.selection" = { bg = "selection_background", fg = "selection_foreground" } "ui.cursor" = { fg = "background", bg = "cursor" } "ui.cursor.primary" = { fg = "background", bg = "cursor" } diff --git a/themes/matte-black/colors.toml b/themes/matte-black/colors.toml index f0f1d3a6..5e1a8cca 100644 --- a/themes/matte-black/colors.toml +++ b/themes/matte-black/colors.toml @@ -3,7 +3,7 @@ cursor = "#eaeaea" foreground = "#bebebe" background = "#121212" selection_foreground = "#bebebe" -selection_background = "#333333" +selection_background = "#515151" color0 = "#333333" color1 = "#D35F5F" diff --git a/themes/retro-82/colors.toml b/themes/retro-82/colors.toml index 21cf8103..1b5285d1 100644 --- a/themes/retro-82/colors.toml +++ b/themes/retro-82/colors.toml @@ -15,7 +15,7 @@ selection_foreground = "#00172e" selection_background = "#faa968" # Normal colors (ANSI 0-7) -color0 = "#00172e" +color0 = "#303442" color1 = "#f85525" color2 = "#028391" color3 = "#e97b3c"