diff options
author | Aaron Hutchinson <xarnze@gmail.com> | 2021-11-02 18:40:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-02 19:40:40 +0100 |
commit | 5e8905b4b22dfec9042590f3aa399935b8b83eed (patch) | |
tree | 5d443eccc1fbcfae0d3a61dc90a84e6642b2c1c9 | |
parent | 79cf4b3ceb9bf981ce05adc1db3f01aa551efce8 (diff) | |
download | zsh-5e8905b4b22dfec9042590f3aa399935b8b83eed.tar.gz zsh-5e8905b4b22dfec9042590f3aa399935b8b83eed.tar.bz2 zsh-5e8905b4b22dfec9042590f3aa399935b8b83eed.zip |
feat(ys): increase color contrast with light color schemes (#10295)
-rw-r--r-- | themes/ys.zsh-theme | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/themes/ys.zsh-theme b/themes/ys.zsh-theme index 303c898b4..251b48827 100644 --- a/themes/ys.zsh-theme +++ b/themes/ys.zsh-theme @@ -5,8 +5,10 @@ # # Mar 2013 Yad Smood +typeset +H my_gray="$FG[247]" + # VCS -YS_VCS_PROMPT_PREFIX1=" %{$fg[white]%}on%{$reset_color%} " +YS_VCS_PROMPT_PREFIX1=" %{$my_gray%}on%{$reset_color%} " YS_VCS_PROMPT_PREFIX2=":%{$fg[cyan]%}" YS_VCS_PROMPT_SUFFIX="%{$reset_color%}" YS_VCS_PROMPT_DIRTY=" %{$fg[red]%}x" @@ -60,13 +62,13 @@ local exit_code="%(?,,C:%{$fg[red]%}%?%{$reset_color%})" PROMPT=" %{$terminfo[bold]$fg[blue]%}#%{$reset_color%} \ %(#,%{$bg[yellow]%}%{$fg[black]%}%n%{$reset_color%},%{$fg[cyan]%}%n) \ -%{$fg[white]%}@ \ +%{$my_gray%}@ \ %{$fg[green]%}%m \ -%{$fg[white]%}in \ +%{$my_gray%}in \ %{$terminfo[bold]$fg[yellow]%}%~%{$reset_color%}\ ${hg_info}\ ${git_info}\ ${venv_info}\ \ -%{$fg[white]%}[%*] $exit_code +%{$my_gray%}[%*] $exit_code %{$terminfo[bold]$fg[red]%}$ %{$reset_color%}" |