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 May 6, 2024
1 parent 5e82906 commit 53326bb
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 @@ -195,6 +195,7 @@ declare -a THEMES=(
'palenight.sh'
'pali.sh'
'panda.sh'
'paper.sh'
'papercolor-dark.sh'
'papercolor-light.sh'
'paraiso-dark.sh'
Expand Down
49 changes: 49 additions & 0 deletions installs/paper.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#!/usr/bin/env bash

export PROFILE_NAME="Paper"

export COLOR_01="#000000" # Black (Host)
export COLOR_02="#cc3e28" # Red (Syntax string)
export COLOR_03="#216609" # Green (Command)
export COLOR_04="#b58900" # Yellow (Command second)
export COLOR_05="#1e6fcc" # Blue (Path)
export COLOR_06="#5c21a5" # Magenta (Syntax var)
export COLOR_07="#158c86" # Cyan (Prompt)
export COLOR_08="#aaaaaa" # White

export COLOR_09="#555555" # Bright Black
export COLOR_10="#cc3e28" # Bright Red (Command error)
export COLOR_11="#216609" # Bright Green (Exec)
export COLOR_12="#b58900" # Bright Yellow
export COLOR_13="#1e6fcc" # Bright Blue (Folder)
export COLOR_14="#5c21a5" # Bright Magenta
export COLOR_15="#158c86" # Bright Cyan
export COLOR_16="#aaaaaa" # Bright White

export BACKGROUND_COLOR="#f2eede" # Background
export FOREGROUND_COLOR="#000000" # Foreground (Text)

export CURSOR_COLOR="#000000" # 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/paper.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"color_01": "#000000", "color_02": "#cc3e28", "color_03": "#216609", "color_04": "#b58900", "color_05": "#1e6fcc", "color_06": "#5c21a5", "color_07": "#158c86", "color_08": "#aaaaaa", "color_09": "#555555", "color_10": "#cc3e28", "color_11": "#216609", "color_12": "#b58900", "color_13": "#1e6fcc", "color_14": "#5c21a5", "color_15": "#158c86", "color_16": "#aaaaaa", "name": "Paper", "foreground": "#000000", "background": "#f2eede", "cursor": "#000000", "hash": "92e76c838d543d70dfe305df0ea0833909561a01ebeda4b0da7ff60c80ba3cf4"}

0 comments on commit 53326bb

Please sign in to comment.