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 9, 2024
1 parent dd1ea68 commit e8fb690
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 @@ -64,6 +64,7 @@ declare -a THEMES=(
'chalkboard.sh'
'chameleon.sh'
'ciapre.sh'
'city-lights.sh'
'clone-of-ubuntu.sh'
'clrs.sh'
'cobalt-2.sh'
Expand Down
51 changes: 51 additions & 0 deletions installs/city-lights.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#!/usr/bin/env bash

export PROFILE_NAME="City Lights"

export COLOR_01="#41505E" # Black (Host)
export COLOR_02="#D95468" # Red (Syntax string)
export COLOR_03="#8BD49C" # Green (Command)
export COLOR_04="#EBBF83" # Yellow (Command second)
export COLOR_05="#539AFC" # Blue (Path)
export COLOR_06="#B62D65" # Magenta (Syntax var)
export COLOR_07="#70E1E8" # Cyan (Prompt)
export COLOR_08="#FFFFFF" # White

export COLOR_09="#41505E" # Bright Black
export COLOR_10="#D95468" # Bright Red (Command error)
export COLOR_11="#8BD49C" # Bright Green (Exec)
export COLOR_12="#EBBF83" # Bright Yellow
export COLOR_13="#539AFC" # Bright Blue (Folder)
export COLOR_14="#B62D65" # Bright Magenta
export COLOR_15="#70E1E8" # Bright Cyan
export COLOR_16="#FFFFFF" # Bright White

export BACKGROUND_COLOR="#171D23" # Background
export FOREGROUND_COLOR="#FFFFFF" # Foreground (Text)

export CURSOR_COLOR="#008B94" # 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/city-lights.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"color_01": "#41505E", "color_02": "#D95468", "color_03": "#8BD49C", "color_04": "#EBBF83", "color_05": "#539AFC", "color_06": "#B62D65", "color_07": "#70E1E8", "color_08": "#FFFFFF", "color_09": "#41505E", "color_10": "#D95468", "color_11": "#8BD49C", "color_12": "#EBBF83", "color_13": "#539AFC", "color_14": "#B62D65", "color_15": "#70E1E8", "color_16": "#FFFFFF", "name": "City Lights", "foreground": "#FFFFFF", "background": "#171D23", "cursor": "#008B94", "hash": "5395c5777ddc1fd29ec7b2148442860799f3eee43189039abd7dafffa329466f"}

0 comments on commit e8fb690

Please sign in to comment.