From d7a0e2c5f5c15cdb996c141f8f41046d08054bef Mon Sep 17 00:00:00 2001 From: fatalerrors Date: Wed, 15 Apr 2026 16:53:33 +0200 Subject: [PATCH] refining themes --- profile.d/prompt.sh | 4 ++-- profile.d/themes/abyss.theme | 12 ++++++------ profile.d/themes/adwaita.theme | 4 ++-- profile.d/themes/dark.theme | 4 ++-- profile.d/themes/light.theme | 2 +- profile.d/themes/solarized.theme | 8 ++++---- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/profile.d/prompt.sh b/profile.d/prompt.sh index a41b4e0..b468894 100644 --- a/profile.d/prompt.sh +++ b/profile.d/prompt.sh @@ -308,9 +308,9 @@ set_prompt() # If root, print the host in root colour. Otherwise use user colour. if [[ $EUID -eq 0 ]]; then - PS1+="\[${_root_fg}${_bar_bg}\]\\u\[${_user_fg}${_bar_bg}\]@\\h" + PS1+="\[${_root_fg}${_bar_bg}\] \\u\[${_user_fg}${_bar_bg}\]@\\h" else - PS1+="\[${_user_fg}${_bar_bg}\]\\u@\\h" + PS1+="\[${_user_fg}${_bar_bg}\] \\u@\\h" fi PS1+="\[\e[K\e[u\]\[$RESETCOL\]\n" # Print the working directory and prompt marker, then reset colour. diff --git a/profile.d/themes/abyss.theme b/profile.d/themes/abyss.theme index 5cfe42c..899361c 100755 --- a/profile.d/themes/abyss.theme +++ b/profile.d/themes/abyss.theme @@ -26,16 +26,16 @@ Blue="\e[0;94m" # electric blue (IBlue — abyss identifier colour) Green="\e[0;96m" # teal (ICyan — abyss string colour) Yellow="\e[0;93m" # bright gold (IYellow — abyss constant colour) -PROMPT_COLOR_TIME_FG="$ICyan" # electric teal clock -PROMPT_COLOR_TIME_BG="$On_Black" # deep black background -PROMPT_COLOR_BAR_BG="$On_Blue" # deep blue bar +PROMPT_COLOR_TIME_FG="$ICyan" # electric teal clock +PROMPT_COLOR_TIME_BG="\e[48;2;15;20;40m" # near-black midnight bg for time +PROMPT_COLOR_BAR_BG="\e[48;2;0;30;70m" # deep navy bar (24-bit) PROMPT_COLOR_OK_FG="$ICyan" # teal on success PROMPT_COLOR_OK_MARK="$IGreen" # bright teal-green checkmark -PROMPT_COLOR_ERR_BG="$On_Red" # red background on failure -PROMPT_COLOR_ERR_FG="$IWhite" # bright white text -PROMPT_COLOR_ERR_MARK="$IYellow" # golden X +PROMPT_COLOR_ERR_BG="\e[48;2;180;20;20m" # vivid crimson background (24-bit) +PROMPT_COLOR_ERR_FG="\e[1;97m" # bold bright white — maximum contrast +PROMPT_COLOR_ERR_MARK="$IYellow" # golden X PROMPT_COLOR_ROOT_FG="$IRed" # red for root PROMPT_COLOR_USER_FG="$IBlue" # electric blue for user diff --git a/profile.d/themes/adwaita.theme b/profile.d/themes/adwaita.theme index d9f428d..a61c358 100755 --- a/profile.d/themes/adwaita.theme +++ b/profile.d/themes/adwaita.theme @@ -34,9 +34,9 @@ PROMPT_COLOR_OK_FG="$White" # clean white on success PROMPT_COLOR_OK_MARK="$Green" # Adwaita green checkmark PROMPT_COLOR_ERR_BG="$On_Red" # Adwaita red on failure -PROMPT_COLOR_ERR_FG="$White" # white text +PROMPT_COLOR_ERR_FG="$BIWhite" # bold bright white for maximum legibility PROMPT_COLOR_ERR_MARK="$Yellow" # yellow X (warning intent) PROMPT_COLOR_ROOT_FG="$Red" # Adwaita red for root -PROMPT_COLOR_USER_FG="$IBlue" # Adwaita blue for user +PROMPT_COLOR_USER_FG="$BBlue" # darker bold blue — readable on blue bar PROMPT_COLOR_DIR_FG="$IGreen" # Adwaita green for path diff --git a/profile.d/themes/dark.theme b/profile.d/themes/dark.theme index c96b036..0b291b2 100755 --- a/profile.d/themes/dark.theme +++ b/profile.d/themes/dark.theme @@ -17,8 +17,8 @@ # ------------------------------------------------------------------------------ PROMPT_COLOR_TIME_FG="$ICyan" # Clock text -PROMPT_COLOR_TIME_BG="$On_Black" # Clock background (black) -PROMPT_COLOR_BAR_BG="$On_IBlack" # Main bar background (dark grey) +PROMPT_COLOR_TIME_BG="$On_IBlack" # Clock background (black) +PROMPT_COLOR_BAR_BG="$On_Black" # Main bar background (dark grey) PROMPT_COLOR_OK_FG="$IGreen" # Exit-code text on success PROMPT_COLOR_OK_MARK="$BGreen" # Checkmark colour on success diff --git a/profile.d/themes/light.theme b/profile.d/themes/light.theme index 17199ca..e561026 100755 --- a/profile.d/themes/light.theme +++ b/profile.d/themes/light.theme @@ -19,7 +19,7 @@ # shift to their dark/regular equivalents for contrast on a light terminal. # ------------------------------------------------------------------------------ -PROMPT_COLOR_TIME_FG="$Blue" # Clock text (ICyan → Blue, darker for light bg) +PROMPT_COLOR_TIME_FG="$Black" # Clock text (black on light bg — maximum contrast) PROMPT_COLOR_TIME_BG="$On_IWhite" # Clock background (On_Black → On_IWhite) PROMPT_COLOR_BAR_BG="$On_White" # Main bar background (On_IBlack → On_White) diff --git a/profile.d/themes/solarized.theme b/profile.d/themes/solarized.theme index 412b263..3af79d4 100755 --- a/profile.d/themes/solarized.theme +++ b/profile.d/themes/solarized.theme @@ -108,14 +108,14 @@ RESETCOL="\e[0m" PROMPT_COLOR_TIME_FG="\e[38;2;181;137;0m" # Yellow — primary accent PROMPT_COLOR_TIME_BG="\e[48;2;0;43;54m" # Base03 — darkest background -PROMPT_COLOR_BAR_BG="\e[48;2;7;54;66m" # Base02 — bar background +PROMPT_COLOR_BAR_BG="\e[48;2;88;110;117m" # Base01 — slightly brighter bar (was Base02) PROMPT_COLOR_OK_FG="\e[38;2;131;148;150m" # Base0 — body text on success PROMPT_COLOR_OK_MARK="\e[38;2;133;153;0m" # Green — checkmark -PROMPT_COLOR_ERR_BG="\e[48;2;220;50;47m" # Red — error background -PROMPT_COLOR_ERR_FG="\e[38;2;253;246;227m" # Base3 — bright fg on red -PROMPT_COLOR_ERR_MARK="\e[38;2;181;137;0m" # Yellow — X mark on red bg +PROMPT_COLOR_ERR_BG="\e[48;2;180;20;15m" # deeper crimson — more contrast than Solarized Red +PROMPT_COLOR_ERR_FG="\e[1;38;2;255;255;255m" # bold pure white — maximum contrast on dark red +PROMPT_COLOR_ERR_MARK="\e[1;38;2;253;246;227m" # Base3 bold — bright warm mark stands out on crimson PROMPT_COLOR_ROOT_FG="\e[38;2;220;50;47m" # Red — root warning PROMPT_COLOR_USER_FG="\e[38;2;42;161;152m" # Cyan — normal user