Adding dracula theme

This commit is contained in:
Marvin Steadfast 2018-05-11 09:17:55 +02:00
parent 2642107093
commit 38c9d1f7ee
3 changed files with 39 additions and 0 deletions

View File

@ -144,6 +144,7 @@ one of the following options to change the prompt colors.
default Base16 theme. default Base16 theme.
- `zenburn`. An adaptation of Zenburn. - `zenburn`. An adaptation of Zenburn.
- `gruvbox`. An adaptation of gruvbox. - `gruvbox`. An adaptation of gruvbox.
- `dracula`. An adaptation of dracula.
Some of these may not look right if your terminal does not support 24 bit color, Some of these may not look right if your terminal does not support 24 bit color,
in which case you can try one of the `terminal` schemes (below). However, if in which case you can try one of the `terminal` schemes (below). However, if

View File

@ -427,6 +427,43 @@ function __bobthefish_colors -S -a color_scheme -d 'Define colors used by bobthe
set -x color_virtualgo $blue[2] $fg[2] --bold set -x color_virtualgo $blue[2] $fg[2] --bold
set -x color_desk $blue[2] $fg[2] --bold set -x color_desk $blue[2] $fg[2] --bold
case 'dracula'
set -l grey 282A36
set -l red FF5555
set -l green 50FA7B
set -l yellow F1FA8C
set -l orange FFB86C
set -l blue 6272A4
set -l white F8F8F2
set -l purple 6272A4
set -x color_initial_segment_exit $white $red --bold
set -x color_initial_segment_su $white $green --bold
set -x color_initial_segment_jobs $white $blue --bold
set -x color_path $purple $white
set -x color_path_basename $purple $white --bold
set -x color_path_nowrite $purple $red
set -x color_path_nowrite_basename $purple $red --bold
set -x color_repo $green $grey
set -x color_repo_work_tree $grey $grey --bold
set -x color_repo_dirty $red $grey
set -x color_repo_staged $yellow $grey
set -x color_vi_mode_default $grey $yellow --bold
set -x color_vi_mode_insert $green $grey --bold
set -x color_vi_mode_visual $yellow $grey --bold
set -x color_vagrant $blue $green --bold
set -x color_k8s $green $white --bold
set -x color_username $grey $blue --bold
set -x color_hostname $grey $blue
set -x color_rvm $red $grey --bold
set -x color_virtualfish $blue $grey --bold
set -x color_virtualgo $blue $grey --bold
set -x color_desk $blue $grey --bold
case '*' # default dark theme case '*' # default dark theme
# light medium dark # light medium dark
# ------ ------ ------ # ------ ------ ------

View File

@ -4,6 +4,7 @@ function bobthefish_display_colors -a color_scheme -d 'Print example prompt colo
solarized solarized-light \ solarized solarized-light \
base16 base16-light \ base16 base16-light \
gruvbox zenburn \ gruvbox zenburn \
dracula \
terminal terminal-dark-white \ terminal terminal-dark-white \
terminal-light terminal-light-black \ terminal-light terminal-light-black \
terminal2 terminal2-dark-white \ terminal2 terminal2-dark-white \