feat: increase test coverage for dark & light 16-bit themes
This commit is contained in:
parent
1cd5b27f14
commit
e33cccf5c6
6 changed files with 238 additions and 6 deletions
|
@ -15,7 +15,8 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
|
|||
|
||||
# Other plugins
|
||||
set -g @plugin 'egel/tmux-gruvbox'
|
||||
set -g @tmux-gruvbox 'light-transparent'
|
||||
set -g @tmux-gruvbox 'light'
|
||||
set -g @tmux-gruvbox-statusbar-alpha 'true'
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
@ -32,7 +33,7 @@ EOF
|
|||
tmux new -d
|
||||
|
||||
# check if left side match
|
||||
_status_left_expected="#[bg=colour243,fg=colour255] #S #[bg=colour252,fg=colour243,nobold,noitalics,nounderscore]"
|
||||
_status_left_expected="#[bg=#bdae93,fg=#665c54] #S #[bg=#ebdbb2,fg=#bdae93,nobold,noitalics,nounderscore]"
|
||||
_status_left_current=$(tmux show-option -gqv status-left)
|
||||
if [[ "$_status_left_current" != "$_status_left_expected" ]]; then
|
||||
helper_print_fail "status-left did not match" "$_status_left_current" "$_status_left_expected"
|
||||
|
@ -40,7 +41,7 @@ EOF
|
|||
exit 1
|
||||
fi
|
||||
# check if status is not transparent
|
||||
_status_style_expected="bg=default,fg=colour239"
|
||||
_status_style_expected="bg=default,fg=#3c3836"
|
||||
_status_style_current=$(tmux show-option -gqv status-style)
|
||||
if [[ "$_status_style_current" != "$_status_style_expected" ]]; then
|
||||
helper_print_fail "status-style did not match" "$_status_style_current" "$_status_style_expected"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue