From cf153080d7712f9a03e5e2c30bbae10eade1dc74 Mon Sep 17 00:00:00 2001 From: Henrik Tjäder Date: Sun, 5 Mar 2023 03:21:31 +0100 Subject: Theme: Papercolor: Add ui.highlight (#6162) Using the picker with syntax highlighting the fallback `ui.selection` makes a lot of text, especially for the light variant, hard to read. Instead, use a lighter background for highlights--- runtime/themes/papercolor-dark.toml | 1 + runtime/themes/papercolor-light.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/runtime/themes/papercolor-dark.toml b/runtime/themes/papercolor-dark.toml index 088658e9..eaaa36dc 100644 --- a/runtime/themes/papercolor-dark.toml +++ b/runtime/themes/papercolor-dark.toml @@ -7,6 +7,7 @@ "ui.text.focus" = { fg = "selection_background", modifiers = ["bold"]} "ui.selection" = {bg="selection_background", fg="selection_foreground"} "ui.cursorline" = {bg="cursorline_background"} +"ui.highlight" = {bg="cursorline_background"} "ui.statusline" = {bg="paper_bar_bg", fg="regular0"} "ui.statusline.select" = {bg="background", fg="bright7"} "ui.statusline.normal" = {bg="background", fg="bright3"} diff --git a/runtime/themes/papercolor-light.toml b/runtime/themes/papercolor-light.toml index c44c6709..63671e1b 100644 --- a/runtime/themes/papercolor-light.toml +++ b/runtime/themes/papercolor-light.toml @@ -6,6 +6,7 @@ "ui.text" = "foreground" "ui.text.focus" = { fg = "selection_background", modifiers = ["bold"]} "ui.selection" = {bg="selection_background", fg="selection_foreground"} +"ui.highlight" = {bg="cursorline_background"} "ui.cursorline" = {bg="cursorline_background"} "ui.statusline" = {bg="paper_bar_bg", fg="regular0"} "ui.statusline.select" = {bg="background", fg="bright7"} -- cgit v1.2.3-70-g09d2