1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

Add DeHydration Color Scheme made by me

This commit is contained in:
JagsterTheP 2021-04-05 09:56:50 +05:30
parent ccc9f51d69
commit 324b89cea4
4 changed files with 57 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -47,6 +47,7 @@ declare -a THEMES=(
'crayon-pony-fish.sh' 'crayon-pony-fish.sh'
'dark-pastel.sh' 'dark-pastel.sh'
'darkside.sh' 'darkside.sh'
'dehydration.sh'
'desert.sh' 'desert.sh'
'dimmed-monokai.sh' 'dimmed-monokai.sh'
'dracula.sh' 'dracula.sh'

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

55
themes/dehydration.sh Executable file
View File

@ -0,0 +1,55 @@
#!/usr/bin/env bash
# ====================CONFIG THIS =============================== #
export COLOR_01="#333333" # Black
export COLOR_02="#ff5555" # Red
export COLOR_03="#5fd38d" # Green
export COLOR_04="#ff9955" # Yellow
export COLOR_05="#3771c8" # Blue
export COLOR_06="#bc5fd3" # Magenta
export COLOR_07="#5fd3bc" # Cyan
export COLOR_08="#999999" # Light gray
export COLOR_09="#666666" # Dark gray
export COLOR_10="#ff8080" # Light Red
export COLOR_11="#87deaa" # Light Green
export COLOR_12="#ffb380" # Light Yellow
export COLOR_13="#5f8dd3" # Light Blue
export COLOR_14="#cd87de" # Light Magenta
export COLOR_15="#87decd" # Light Cyan
export COLOR_16="#cccccc" # White
export BACKGROUND_COLOR="$COLOR_01" # Background Color
export FOREGROUND_COLOR="$COLOR_16" # Foreground Color (text)
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
export PROFILE_NAME="DeHydration"
# =============================================================== #
# =============================================================== #
# | Apply Colors
# ===============================================================|#
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"
# Allow developer to change url to forked url for easier testing
# IMPORTANT: Make sure you export this variable if your main shell is not bash
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
if [[ -e "${PARENT_PATH}/apply-colors.sh" ]]; then
bash "${PARENT_PATH}/apply-colors.sh"
else
if [[ "$(uname)" = "Darwin" ]]; then
# OSX ships with curl and ancient bash
bash -c "$(curl -so- "${BASE_URL}/apply-colors.sh")"
else
# Linux ships with wget
bash -c "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
fi
fi