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 Oct 21, 2023
1 parent 24f9855 commit b7498e4
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/themes.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion gogh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ declare -a THEMES=(
'frontend-fun-forrest.sh'
'frontend-galaxy.sh'
'geohot.sh'
'github.sh'
'github-dark.sh'
'github-light.sh'
'gogh.sh'
'gooey.sh'
'google-dark.sh'
Expand Down
49 changes: 49 additions & 0 deletions installs/github-dark.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#!/usr/bin/env bash

export PROFILE_NAME="Github Dark"

export COLOR_01="#000000" # Black (Host)
export COLOR_02="#F78166" # Red (Syntax string)
export COLOR_03="#56D364" # Green (Command)
export COLOR_04="#E3B341" # Yellow (Command second)
export COLOR_05="#6CA4F8" # Blue (Path)
export COLOR_06="#DB61A2" # Magenta (Syntax var)
export COLOR_07="#2B7489" # Cyan (Prompt)
export COLOR_08="#FFFFFF" # White

export COLOR_09="#4D4D4D" # Bright Black
export COLOR_10="#F78166" # Bright Red (Command error)
export COLOR_11="#56D364" # Bright Green (Exec)
export COLOR_12="#E3B341" # Bright Yellow
export COLOR_13="#6CA4F8" # Bright Blue (Folder)
export COLOR_14="#DB61A2" # Bright Magenta
export COLOR_15="#2B7489" # Bright Cyan
export COLOR_16="#FFFFFF" # Bright White

export BACKGROUND_COLOR="#101216" # Background
export FOREGROUND_COLOR="#8B949E" # Foreground (Text)

export CURSOR_COLOR="#C9D1D9" # 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
2 changes: 1 addition & 1 deletion installs/github.sh → installs/github-light.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

export PROFILE_NAME="Github"
export PROFILE_NAME="Github Light"

export COLOR_01="#3E3E3E" # Black (Host)
export COLOR_02="#970B16" # Red (Syntax string)
Expand Down
1 change: 1 addition & 0 deletions json/github-dark.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"color_01": "#000000", "color_02": "#F78166", "color_03": "#56D364", "color_04": "#E3B341", "color_05": "#6CA4F8", "color_06": "#DB61A2", "color_07": "#2B7489", "color_08": "#FFFFFF", "color_09": "#4D4D4D", "color_10": "#F78166", "color_11": "#56D364", "color_12": "#E3B341", "color_13": "#6CA4F8", "color_14": "#DB61A2", "color_15": "#2B7489", "color_16": "#FFFFFF", "name": "Github Dark", "foreground": "#8B949E", "background": "#101216", "cursor": "#C9D1D9", "hash": "d75dd30bccb7a1fea7598bd03375ba6b108b20e819716f02cbb1f86032266f56"}
2 changes: 1 addition & 1 deletion json/github.json → json/github-light.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"color_01": "#3E3E3E", "color_02": "#970B16", "color_03": "#07962A", "color_04": "#F8EEC7", "color_05": "#003E8A", "color_06": "#E94691", "color_07": "#89D1EC", "color_08": "#FFFFFF", "color_09": "#666666", "color_10": "#DE0000", "color_11": "#87D5A2", "color_12": "#F1D007", "color_13": "#2E6CBA", "color_14": "#FFA29F", "color_15": "#1CFAFE", "color_16": "#FFFFFF", "name": "Github", "foreground": "#3E3E3E", "background": "#F4F4F4", "cursor": "#3E3E3E", "hash": "b0375fc0ef7851df7b71bcfc66f6da4fed77036edd90af067f709e1c769f46c8"}
{"color_01": "#3E3E3E", "color_02": "#970B16", "color_03": "#07962A", "color_04": "#F8EEC7", "color_05": "#003E8A", "color_06": "#E94691", "color_07": "#89D1EC", "color_08": "#FFFFFF", "color_09": "#666666", "color_10": "#DE0000", "color_11": "#87D5A2", "color_12": "#F1D007", "color_13": "#2E6CBA", "color_14": "#FFA29F", "color_15": "#1CFAFE", "color_16": "#FFFFFF", "name": "Github Light", "foreground": "#3E3E3E", "background": "#F4F4F4", "cursor": "#3E3E3E", "hash": "23a76d8b9da3f4f136a854935e3c1b6d6921c311c5af03fdd2bd9843c2570b6d"}

0 comments on commit b7498e4

Please sign in to comment.