From 91da0dc172dde1a972be7708188a134db70562c3 Mon Sep 17 00:00:00 2001 From: Jan Scheer Date: Thu, 18 May 2023 03:16:25 +0200 Subject: [PATCH] Update nightfox theme (#7061) * theme: nightfox - fix subselection highlighting This fixes an issue with subselect highlighting on the same line as reported here: https://github.com/helix-editor/helix/discussions/5158 * theme: nightfox - update bufferline colors This uses `ui.bufferline` to make it easier to distinguish between (in-)active tabs/buffers. --- runtime/themes/nightfox.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/runtime/themes/nightfox.toml b/runtime/themes/nightfox.toml index fad56d189..069b32ab4 100644 --- a/runtime/themes/nightfox.toml +++ b/runtime/themes/nightfox.toml @@ -19,8 +19,8 @@ "ui.cursor.primary" = { bg = "fg1", fg = "bg1" } # The primary cursor when there are multiple (shift-c). "ui.cursor.match" = { fg = "yellow", modifiers = ["bold"] } # The matching parentheses of that under the cursor. -"ui.selection" = { bg = "bg3" } # All currently selected text. -"ui.selection.primary" = { bg = "bg4" } # The primary selection when there are multiple. +"ui.selection" = { bg = "bg4" } # All currently selected text. +"ui.selection.primary" = { bg = "sel1" } # The primary selection when there are multiple. "ui.cursorline.primary" = { bg = "bg3" } # The line of the primary cursor (if cursorline is enabled) # "ui.cursorline.secondary" = { } # The lines of any other cursors (if cursorline is enabled) # "ui.cursorcolumn.primary" = { } # The column of the primary cursor (if cursorcolumn is enabled) @@ -41,6 +41,10 @@ "ui.statusline.insert" = { bg = "green", fg = "bg0", modifiers = ["bold"] } # Statusline mode during insert mode (only if editor.color-modes is enabled) "ui.statusline.select" = { bg = "magenta", fg = "bg0", modifiers = ["bold"] } # Statusline mode during select mode (only if editor.color-modes is enabled) +"ui.bufferline" = { fg = "fg3", bg = "bg2", underline = { style = "line" } } +"ui.bufferline.active" = { fg = "fg2", bg = "bg4" } +"ui.bufferline.background" = { bg = "bg0" } + "ui.help" = { bg = "sel0", fg = "fg1" } # Description box for commands. "ui.menu" = { bg = "sel0", fg = "fg1" } # Code and command completion menus.