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 Jul 5, 2024
1 parent a525fad commit 21b7ae9
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 @@ -29,6 +29,7 @@ declare -a THEMES=(
'apprentice.sh'
'argonaut.sh'
'arthur.sh'
'astrodark.sh'
'atom.sh'
'aura.sh'
'ayu-dark.sh'
Expand Down
51 changes: 51 additions & 0 deletions installs/astrodark.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#!/usr/bin/env bash

export PROFILE_NAME="Astrodark"

export COLOR_01="#111317" # Black (Host)
export COLOR_02="#F8747E" # Red (Syntax string)
export COLOR_03="#75AD47" # Green (Command)
export COLOR_04="#D09214" # Yellow (Command second)
export COLOR_05="#50A4E9" # Blue (Path)
export COLOR_06="#CC83E3" # Magenta (Syntax var)
export COLOR_07="#00B298" # Cyan (Prompt)
export COLOR_08="#ADB0BB" # White

export COLOR_09="#576176" # Bright Black
export COLOR_10="#FAA5AB" # Bright Red (Command error)
export COLOR_11="#A5CD84" # Bright Green (Exec)
export COLOR_12="#EFBD58" # Bright Yellow
export COLOR_13="#8DC3F1" # Bright Blue (Folder)
export COLOR_14="#DEAEED" # Bright Magenta
export COLOR_15="#27FFDF" # Bright Cyan
export COLOR_16="#CACCD3" # Bright White

export BACKGROUND_COLOR="#1A1D23" # Background
export FOREGROUND_COLOR="#9B9FA9" # Foreground (Text)

export CURSOR_COLOR="#CACCD3" # 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/astrodark.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"color_01": "#111317", "color_02": "#F8747E", "color_03": "#75AD47", "color_04": "#D09214", "color_05": "#50A4E9", "color_06": "#CC83E3", "color_07": "#00B298", "color_08": "#ADB0BB", "color_09": "#576176", "color_10": "#FAA5AB", "color_11": "#A5CD84", "color_12": "#EFBD58", "color_13": "#8DC3F1", "color_14": "#DEAEED", "color_15": "#27FFDF", "color_16": "#CACCD3", "name": "Astrodark", "foreground": "#9B9FA9", "background": "#1A1D23", "cursor": "#CACCD3", "hash": "f9c0b0c4cd4e5952aaacbdbae8967e5ac6837c09babea6dd81db757676b52a4b"}

0 comments on commit 21b7ae9

Please sign in to comment.