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 21, 2024
1 parent 8cac9a0 commit 3d02f65
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 @@ -197,6 +197,7 @@ declare -a THEMES=(
'predawn.sh'
'pro.sh'
'purple-people-eater.sh'
'quiet.sh'
'red-alert.sh'
'red-sands.sh'
'relaxed.sh'
Expand Down
49 changes: 49 additions & 0 deletions installs/quiet.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#!/usr/bin/env bash

export PROFILE_NAME="Quiet"

export COLOR_01="#141414" # Black (Host)
export COLOR_02="#C16262" # Red (Syntax string)
export COLOR_03="#49B685" # Green (Command)
export COLOR_04="#C5B76D" # Yellow (Command second)
export COLOR_05="#4992B6" # Blue (Path)
export COLOR_06="#815BBE" # Magenta (Syntax var)
export COLOR_07="#41A4A4" # Cyan (Prompt)
export COLOR_08="#C5C5C5" # White

export COLOR_09="#505050" # Bright Black
export COLOR_10="#ED5E7A" # Bright Red (Command error)
export COLOR_11="#7ECE7E" # Bright Green (Exec)
export COLOR_12="#DBDB70" # Bright Yellow
export COLOR_13="#4DBFFF" # Bright Blue (Folder)
export COLOR_14="#C067E4" # Bright Magenta
export COLOR_15="#70DBD8" # Bright Cyan
export COLOR_16="#F0F0F0" # Bright White

export BACKGROUND_COLOR="#141414" # Background
export FOREGROUND_COLOR="#B9B9B9" # Foreground (Text)

export CURSOR_COLOR="#A0A0A0" # 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/quiet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"color_01": "#141414", "color_02": "#C16262", "color_03": "#49B685", "color_04": "#C5B76D", "color_05": "#4992B6", "color_06": "#815BBE", "color_07": "#41A4A4", "color_08": "#C5C5C5", "color_09": "#505050", "color_10": "#ED5E7A", "color_11": "#7ECE7E", "color_12": "#DBDB70", "color_13": "#4DBFFF", "color_14": "#C067E4", "color_15": "#70DBD8", "color_16": "#F0F0F0", "name": "Quiet", "foreground": "#B9B9B9", "background": "#141414", "cursor": "#A0A0A0", "hash": "e375468b6df0913d3c603b0304eff781ad6712d235757786aa35beaf9a56416d"}

0 comments on commit 3d02f65

Please sign in to comment.