5e8905b4b22dfec9042590f3aa399935b8b83eed

Author
Aaron Hutchinson <xarnze@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

feat(ys): increase color contrast with light color schemes (#10295)

Diff

 1diff --git a/themes/ys.zsh-theme b/themes/ys.zsh-theme
 2index 303c898b457f4c9ba6237b19a47769f3b100cfb1..251b48827cc20f54d07e3ca1a6e986e8ee4e4054 100644
 3--- a/themes/ys.zsh-theme
 4+++ b/themes/ys.zsh-theme
 5@@ -5,8 +5,10 @@
 6 #
 7 # Mar 2013 Yad Smood
 8 
 9+typeset +H my_gray="$FG[247]"
10+
11 # VCS
12-YS_VCS_PROMPT_PREFIX1=" %{$fg[white]%}on%{$reset_color%} "
13+YS_VCS_PROMPT_PREFIX1=" %{$my_gray%}on%{$reset_color%} "
14 YS_VCS_PROMPT_PREFIX2=":%{$fg[cyan]%}"
15 YS_VCS_PROMPT_SUFFIX="%{$reset_color%}"
16 YS_VCS_PROMPT_DIRTY=" %{$fg[red]%}x"
17@@ -60,13 +62,13 @@ local exit_code="%(?,,C:%{$fg[red]%}%?%{$reset_color%})"
18 PROMPT="
19 %{$terminfo[bold]$fg[blue]%}#%{$reset_color%} \
20 %(#,%{$bg[yellow]%}%{$fg[black]%}%n%{$reset_color%},%{$fg[cyan]%}%n) \
21-%{$fg[white]%}@ \
22+%{$my_gray%}@ \
23 %{$fg[green]%}%m \
24-%{$fg[white]%}in \
25+%{$my_gray%}in \
26 %{$terminfo[bold]$fg[yellow]%}%~%{$reset_color%}\
27 ${hg_info}\
28 ${git_info}\
29 ${venv_info}\
30  \
31-%{$fg[white]%}[%*] $exit_code
32+%{$my_gray%}[%*] $exit_code
33 %{$terminfo[bold]$fg[red]%}$ %{$reset_color%}"