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 May 27, 2024
1 parent 069f792 commit 12fccbc
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 1 deletion.
2 changes: 1 addition & 1 deletion data/themes.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions gogh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ declare -a THEMES=(
'ibm3270.sh'
'ic-green-ppl.sh'
'ic-orange-ppl.sh'
'iceberg.sh'
'idle-toes.sh'
'ir-black.sh'
'jackie-brown.sh'
Expand Down
49 changes: 49 additions & 0 deletions installs/iceberg.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#!/usr/bin/env bash

export PROFILE_NAME="Iceberg"

export COLOR_01="#161821" # Black (Host)
export COLOR_02="#e27878" # Red (Syntax string)
export COLOR_03="#b4be82" # Green (Command)
export COLOR_04="#e2a478" # Yellow (Command second)
export COLOR_05="#84a0c6" # Blue (Path)
export COLOR_06="#a093c7" # Magenta (Syntax var)
export COLOR_07="#89b8c2" # Cyan (Prompt)
export COLOR_08="#c6c8d1" # White

export COLOR_09="#6b7089" # Bright Black
export COLOR_10="#e98989" # Bright Red (Command error)
export COLOR_11="#c0ca8e" # Bright Green (Exec)
export COLOR_12="#e9b189" # Bright Yellow
export COLOR_13="#91acd1" # Bright Blue (Folder)
export COLOR_14="#ada0d3" # Bright Magenta
export COLOR_15="#95c4ce" # Bright Cyan
export COLOR_16="#d2d4de" # Bright White

export BACKGROUND_COLOR="#161821" # Background
export FOREGROUND_COLOR="#c6c8d1" # Foreground (Text)

export CURSOR_COLOR="#d2d4de" # 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/iceberg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"color_01": "#161821", "color_02": "#e27878", "color_03": "#b4be82", "color_04": "#e2a478", "color_05": "#84a0c6", "color_06": "#a093c7", "color_07": "#89b8c2", "color_08": "#c6c8d1", "color_09": "#6b7089", "color_10": "#e98989", "color_11": "#c0ca8e", "color_12": "#e9b189", "color_13": "#91acd1", "color_14": "#ada0d3", "color_15": "#95c4ce", "color_16": "#d2d4de", "name": "Iceberg", "foreground": "#c6c8d1", "background": "#161821", "cursor": "#d2d4de", "hash": "01f4ba5dc15e03afef2e2021a22c9bde1a76947cf258b029d00f3499283f01c0"}

0 comments on commit 12fccbc

Please sign in to comment.