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 Jun 8, 2024
1 parent 438462f commit a031550
Show file tree
Hide file tree
Showing 4 changed files with 54 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 @@ -44,6 +44,7 @@ declare -a THEMES=(
'bluloco-light.sh'
'bluloco-zsh-light.sh'
'borland.sh'
'breadog.sh'
'breath-darker.sh'
'breath-light.sh'
'breath-silverfox.sh'
Expand Down
51 changes: 51 additions & 0 deletions installs/breadog.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#!/usr/bin/env bash

export PROFILE_NAME="Breadog"

export COLOR_01="#362C24" # Black (Host)
export COLOR_02="#B10B00" # Red (Syntax string)
export COLOR_03="#007232" # Green (Command)
export COLOR_04="#8B4C00" # Yellow (Command second)
export COLOR_05="#005CB4" # Blue (Path)
export COLOR_06="#9B0097" # Magenta (Syntax var)
export COLOR_07="#006A78" # Cyan (Prompt)
export COLOR_08="#D4C3B7" # White

export COLOR_09="#514337" # Bright Black
export COLOR_10="#DE1100" # Bright Red (Command error)
export COLOR_11="#008F40" # Bright Green (Exec)
export COLOR_12="#AE6000" # Bright Yellow
export COLOR_13="#0074E1" # Bright Blue (Folder)
export COLOR_14="#C300BD" # Bright Magenta
export COLOR_15="#008697" # Bright Cyan
export COLOR_16="#EAE1DA" # Bright White

export BACKGROUND_COLOR="#F1EBE6" # Background
export FOREGROUND_COLOR="#362C24" # Foreground (Text)

export CURSOR_COLOR="#362C24" # Cursor

apply_theme() {
if [[ -e "${GOGH_APPLY_SCRIPT}" ]]; then
bash "${GOGH_APPLY_SCRIPT}"
elif [[ -e "${PARENT_PATH}/apply-colors.sh" ]]; then
bash "${PARENT_PATH}/apply-colors.sh"
elif [[ -e "${SCRIPT_PATH}/apply-colors.sh" ]]; then
bash "${SCRIPT_PATH}/apply-colors.sh"
else
printf '\n%s\n' "Error: Couldn't find apply-colors.sh" 1>&2
exit 1
fi
}

# | ===========================================================================
# | Apply Colors
# | ===========================================================================
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
fi
1 change: 1 addition & 0 deletions json/breadog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"color_01": "#362C24", "color_02": "#B10B00", "color_03": "#007232", "color_04": "#8B4C00", "color_05": "#005CB4", "color_06": "#9B0097", "color_07": "#006A78", "color_08": "#D4C3B7", "color_09": "#514337", "color_10": "#DE1100", "color_11": "#008F40", "color_12": "#AE6000", "color_13": "#0074E1", "color_14": "#C300BD", "color_15": "#008697", "color_16": "#EAE1DA", "name": "Breadog", "foreground": "#362C24", "background": "#F1EBE6", "cursor": "#362C24", "hash": "8553eacecf7fe46616f55c2647a571294c1b1e48f1f68f94425f87025ddc7c64"}

0 comments on commit a031550

Please sign in to comment.