Skip to content

Commit

Permalink
------- Generate Themes -------
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 5, 2024
1 parent 6dda56d commit 161ad05
Show file tree
Hide file tree
Showing 6 changed files with 103 additions and 1 deletion.
2 changes: 1 addition & 1 deletion data/themes.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions gogh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ declare -a THEMES=(
'seafoam-pastel.sh'
'selenized-dark.sh'
'selenized-light.sh'
'seoul256-light.sh'
'seoul256.sh'
'seti.sh'
'shaman.sh'
'shel.sh'
Expand Down
49 changes: 49 additions & 0 deletions installs/seoul256-light.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#!/usr/bin/env bash

export PROFILE_NAME="Seoul256 Light"

export COLOR_01="#4e4e4e" # Black (Host)
export COLOR_02="#af5f5f" # Red (Syntax string)
export COLOR_03="#5f885f" # Green (Command)
export COLOR_04="#af8760" # Yellow (Command second)
export COLOR_05="#5f87ae" # Blue (Path)
export COLOR_06="#875f87" # Magenta (Syntax var)
export COLOR_07="#5f8787" # Cyan (Prompt)
export COLOR_08="#e4e4e4" # White

export COLOR_09="#3a3a3a" # Bright Black
export COLOR_10="#870100" # Bright Red (Command error)
export COLOR_11="#005f00" # Bright Green (Exec)
export COLOR_12="#d8865f" # Bright Yellow
export COLOR_13="#0087af" # Bright Blue (Folder)
export COLOR_14="#87025f" # Bright Magenta
export COLOR_15="#008787" # Bright Cyan
export COLOR_16="#eeeeee" # Bright White

export BACKGROUND_COLOR="#dadada" # Background
export FOREGROUND_COLOR="#4e4e4e" # Foreground (Text)

export CURSOR_COLOR="#4e4e4e" # Cursor

# | ===========================================================================
# | 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/Gogh-Co/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
49 changes: 49 additions & 0 deletions installs/seoul256.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#!/usr/bin/env bash

export PROFILE_NAME="Seoul256"

export COLOR_01="#4e4e4e" # Black (Host)
export COLOR_02="#d68787" # Red (Syntax string)
export COLOR_03="#5f865f" # Green (Command)
export COLOR_04="#d8af5f" # Yellow (Command second)
export COLOR_05="#85add4" # Blue (Path)
export COLOR_06="#d7afaf" # Magenta (Syntax var)
export COLOR_07="#87afaf" # Cyan (Prompt)
export COLOR_08="#d0d0d0" # White

export COLOR_09="#626262" # Bright Black
export COLOR_10="#d75f87" # Bright Red (Command error)
export COLOR_11="#87af87" # Bright Green (Exec)
export COLOR_12="#ffd787" # Bright Yellow
export COLOR_13="#add4fb" # Bright Blue (Folder)
export COLOR_14="#ffafaf" # Bright Magenta
export COLOR_15="#87d7d7" # Bright Cyan
export COLOR_16="#e4e4e4" # Bright White

export BACKGROUND_COLOR="#3a3a3a" # Background
export FOREGROUND_COLOR="#d0d0d0" # Foreground (Text)

export CURSOR_COLOR="#d0d0d0" # Cursor

# | ===========================================================================
# | 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/Gogh-Co/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
1 change: 1 addition & 0 deletions json/seoul256-light.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"color_01": "#4e4e4e", "color_02": "#af5f5f", "color_03": "#5f885f", "color_04": "#af8760", "color_05": "#5f87ae", "color_06": "#875f87", "color_07": "#5f8787", "color_08": "#e4e4e4", "color_09": "#3a3a3a", "color_10": "#870100", "color_11": "#005f00", "color_12": "#d8865f", "color_13": "#0087af", "color_14": "#87025f", "color_15": "#008787", "color_16": "#eeeeee", "name": "Seoul256 Light", "foreground": "#4e4e4e", "background": "#dadada", "cursor": "#4e4e4e", "hash": "1ce862d50a05f1323decdc11a6be0382a0c7ba60e4a9a785499615c1aa1cf00f"}
1 change: 1 addition & 0 deletions json/seoul256.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"color_01": "#4e4e4e", "color_02": "#d68787", "color_03": "#5f865f", "color_04": "#d8af5f", "color_05": "#85add4", "color_06": "#d7afaf", "color_07": "#87afaf", "color_08": "#d0d0d0", "color_09": "#626262", "color_10": "#d75f87", "color_11": "#87af87", "color_12": "#ffd787", "color_13": "#add4fb", "color_14": "#ffafaf", "color_15": "#87d7d7", "color_16": "#e4e4e4", "name": "Seoul256", "foreground": "#d0d0d0", "background": "#3a3a3a", "cursor": "#d0d0d0", "hash": "bd0590d1f2cfc93b977b9c460c445c21ef3f97e512d9ea05f3ae857d21449df8"}

0 comments on commit 161ad05

Please sign in to comment.