From c55aa483082c775cd5bb4411c36a8c5882d42bcc Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sat, 1 May 2021 20:16:23 +0200 Subject: [PATCH] Default colorscheme: Change pager prefix color for light terminals From my checks (gnome-terminal with the "gnome light" colorscheme) this seems to be the only color that's barely visible in a light terminal, and it's the only color mentioned in both bug reports. I'm leaving the artistic decisions to others, this is now *acceptable* in both. Note that, because we use universal variables here (hint #7317), this will only be changed for preexisting installations when the user reloads the colorscheme. Fixes #3412 Fixes #3893 --- share/functions/__fish_config_interactive.fish | 2 +- share/tools/web_config/js/colorutils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index 9880cf801..077609cca 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -62,7 +62,7 @@ function __fish_config_interactive -d "Initializations that should be performed __init_uvar fish_color_cancel -r # Pager colors - __init_uvar fish_pager_color_prefix white --bold --underline + __init_uvar fish_pager_color_prefix normal --bold --underline __init_uvar fish_pager_color_completion __init_uvar fish_pager_color_description B3A06D yellow __init_uvar fish_pager_color_progress brwhite --background=cyan diff --git a/share/tools/web_config/js/colorutils.js b/share/tools/web_config/js/colorutils.js index f97fd1fca..4037a9951 100644 --- a/share/tools/web_config/js/colorutils.js +++ b/share/tools/web_config/js/colorutils.js @@ -241,7 +241,7 @@ var color_scheme_fish_default = { 'search_match' : 'bryellow --background=brblack', 'fish_pager_color_completion' : '', 'fish_pager_color_description' : 'B3A06D yellow', - 'fish_pager_color_prefix' : 'white --bold --underline', + 'fish_pager_color_prefix' : 'normal --bold --underline', 'fish_pager_color_progress' : 'brwhite --background=cyan', 'normal' : 'normal', 'user' : 'brgreen',