···33332. Add new modifications to [lush_theme/darkearth.lua](lush_theme/darkearth.lua)
34343. Rebuild the colorscheme by running `./build.sh`
35353636+3737+## base16 Colorscheme
3838+I have also included a base16 colorscheme script [base16-darkearth.sh](base16-darkearth.sh) that can be used to set shell colors.
3939+4040+3641## Disclaimer
3742This color scheme is fairly early in development and things are subject to change. (Changes will primarily be new additions)
+124
base16-darkearth.sh
···11+#!/bin/sh
22+# based off of base16-shell (https://github.com/chriskempson/base16-shell)
33+44+# darkearth scheme (by ptdewey)
55+66+base00="24/21/1E" # dark grey-brown (background)
77+base01="22/1F/1C" # slightly ligher brown (alt-background)
88+base02="44/4A/2B" # very dark green
99+base03="6E/66/5E" # medium grey
1010+base04="73/66/59" # medium grey-brown
1111+base05="D7/C4/84" # light tan (foreground)
1212+base06="BB/78/44" # light orange
1313+base07="77/82/4A" # main green
1414+base08="B3/6B/42" # main orange
1515+base09="C9/A6/54" # main yellow
1616+base0A="5F/86/5F" # main teal
1717+base0B="AC/98/7D" # darker tan - new
1818+base0C="8A/7A/6B" # ligher grey-brown - new
1919+base0D="77/82/4A" # NOTE: duplicate, can be modified
2020+base0E="BB/78/44" # NOTE: duplicate, can be modified
2121+base0F="67/56/42" # darker brown (similar to alt background)
2222+2323+color00=$base00 # bg
2424+color01=$base0B # darker tan
2525+color02=$base0A # teal
2626+color03=$base07 # green
2727+color04=$base08 # main orange
2828+color05=$base06 # light orange
2929+color06=$base09 # yellow
3030+color07=$base05 # fg
3131+color08=$base0F # darker brown
3232+color09=$base0B # darker tan
3333+color10=$base0A # teal
3434+color11=$base07 # green
3535+color12=$base08 # orange
3636+color13=$base06 # light orange
3737+color14=$base09 # yellow
3838+color15=$base05 # fg
3939+4040+if [ -n "$BASE16_SHELL_SET_BACKGROUND" ]; then
4141+ if [ "$BASE16_SHELL_SET_BACKGROUND" = true ]; then
4242+ color16=$base00
4343+ color17=$base00
4444+ else
4545+ color16=$base01
4646+ color17=$base01
4747+ fi
4848+else
4949+ color16=$base01
5050+ color17=$base01
5151+fi
5252+5353+color18=$base01
5454+color19=$base02
5555+color20=$base03
5656+color21=$base04
5757+5858+# 16 color space
5959+if [ -n "$TMUX" ]; then
6060+ put_template() { printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $@; }
6161+ put_template_var() { printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $@; }
6262+ put_template_custom() { printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $@; }
6363+elif [ "${TERM%%[-.]*}" = "screen" ]; then
6464+ put_template() { printf '\033P\033]4;%d;rgb:%s\033\\\033\\' $@; }
6565+ put_template_var() { printf '\033P\033]%d;rgb:%s\033\\\033\\' $@; }
6666+ put_template_custom() { printf '\033P\033]%s%s\033\\\033\\' $@; }
6767+elif [ "${TERM%%-*}" = "linux" ]; then
6868+ put_template() { [ $1 -lt 16 ] && printf '\033]P%x%s' $1 $(echo $2 | sed 's/\///g'); }
6969+ put_template_var() { true; }
7070+ put_template_custom() { true; }
7171+else
7272+ put_template() { printf '\033]4;%d;rgb:%s\033\\' $@; }
7373+ put_template_var() { printf '\033]%d;rgb:%s\033\\' $@; }
7474+ put_template_custom() { printf '\033]%s%s\033\\' $@; }
7575+fi
7676+7777+put_template 0 $color00
7878+put_template 1 $color01
7979+put_template 2 $color02
8080+put_template 3 $color03
8181+put_template 4 $color04
8282+put_template 5 $color05
8383+put_template 6 $color06
8484+put_template 7 $color07
8585+put_template 8 $color08
8686+put_template 9 $color09
8787+put_template 10 $color10
8888+put_template 11 $color11
8989+put_template 12 $color12
9090+put_template 13 $color13
9191+put_template 14 $color14
9292+put_template 15 $color15
9393+9494+put_template_var 10 $base05
9595+if [ "$BASE16_SHELL_SET_BACKGROUND" != false ]; then
9696+ put_template_var 11 $base00
9797+fi
9898+put_template_custom 12 ";7"
9999+100100+unset -f put_template
101101+unset -f put_template_var
102102+unset -f put_template_custom
103103+unset color00
104104+unset color01
105105+unset color02
106106+unset color03
107107+unset color04
108108+unset color05
109109+unset color06
110110+unset color07
111111+unset color08
112112+unset color09
113113+unset color10
114114+unset color11
115115+unset color12
116116+unset color13
117117+unset color14
118118+unset color15
119119+unset color16
120120+unset color17
121121+unset color18
122122+unset color19
123123+unset color20
124124+unset color21