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 Feb 9, 2024
1 parent a62805e commit eae7348
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 @@ -45,6 +45,7 @@ declare -a THEMES=(
'breeze.sh'
'broadcast.sh'
'brogrammer.sh'
'butrin.sh'
'c64.sh'
'cai.sh'
'campbell.sh'
Expand Down
49 changes: 49 additions & 0 deletions installs/butrin.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#!/usr/bin/env bash

export PROFILE_NAME="Butrin"

export COLOR_01="#8C7E78" # Black (Host)
export COLOR_02="#E68A8A" # Red (Syntax string)
export COLOR_03="#99CC99" # Green (Command)
export COLOR_04="#FAD7A0" # Yellow (Command second)
export COLOR_05="#6699CC" # Blue (Path)
export COLOR_06="#C8A2C8" # Magenta (Syntax var)
export COLOR_07="#6FC3B2" # Cyan (Prompt)
export COLOR_08="#E2CEBE" # White

export COLOR_09="#BFACA4" # Bright Black
export COLOR_10="#F2B1B1" # Bright Red (Command error)
export COLOR_11="#B2D8B2" # Bright Green (Exec)
export COLOR_12="#F7DCB4" # Bright Yellow
export COLOR_13="#87CEFA" # Bright Blue (Folder)
export COLOR_14="#D8BFD8" # Bright Magenta
export COLOR_15="#64DBDB" # Bright Cyan
export COLOR_16="#F2F2F2" # Bright White

export BACKGROUND_COLOR="#4B3B3C" # Background
export FOREGROUND_COLOR="#F2F2F2" # Foreground (Text)

export CURSOR_COLOR="#E39D93" # 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/butrin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"color_01": "#8C7E78", "color_02": "#E68A8A", "color_03": "#99CC99", "color_04": "#FAD7A0", "color_05": "#6699CC", "color_06": "#C8A2C8", "color_07": "#6FC3B2", "color_08": "#E2CEBE", "color_09": "#BFACA4", "color_10": "#F2B1B1", "color_11": "#B2D8B2", "color_12": "#F7DCB4", "color_13": "#87CEFA", "color_14": "#D8BFD8", "color_15": "#64DBDB", "color_16": "#F2F2F2", "name": "Butrin", "foreground": "#F2F2F2", "background": "#4B3B3C", "cursor": "#E39D93", "hash": "1df99eb5a5bb3864d895033b43c50ddf520f4a2310e0c5f596f208030bf79523"}

0 comments on commit eae7348

Please sign in to comment.